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"]