dockerfile fix

This commit is contained in:
Sergey Chubaryan 2024-08-11 23:50:19 +03:00
parent 2f74e51a9d
commit 19297b331e

View File

@ -8,6 +8,7 @@ RUN go mod download && go mod verify
EXPOSE 8080
COPY . .
RUN go build -v -o /usr/local/bin/app ./...
RUN go build -v -o ./app .
RUN chmod +x ./app
CMD ["app"]
CMD ["./app", "-c", "./misc/config.yaml"]