From a5b71938bb53017025bd6370f99aa61b2dafcf5b Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Tue, 17 Jan 2023 12:02:59 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 69fe229..c1f7705 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,12 +17,11 @@ RUN --mount=type=cache,target=/go/pkg/mod \ --mount=type=cache,target=/root/.cache/go-build \ CGO_ENABLED=0 go build -installsuffix cgo -ldflags "-X main.version=1" -o main . # +#FROM golang:1.19-bullseye # -FROM golang:1.19-bullseye -# -COPY --from=builder /app/main /app/main -RUN chmod -R 755 /app/main -WORKDIR /app +#COPY --from=builder /app/main /app/main +#RUN chmod -R 755 /app/main +#WORKDIR /app # #CMD [ "./main" ] ENTRYPOINT ["./main"]