diff --git a/Dockerfile b/Dockerfile index 74a0df5..14615ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,6 @@ WORKDIR /app/cmd RUN CGO_ENABLED=1 GOOS=linux go build -o main FROM alpine:latest AS production -COPY --from=builder /app/cmd / -WORKDIR / +COPY --from=builder /app/cmd . CMD ["./main"]