trying something else?
This commit is contained in:
+1
-2
@@ -5,6 +5,5 @@ WORKDIR /app/cmd
|
|||||||
RUN CGO_ENABLED=1 GOOS=linux go build -o main
|
RUN CGO_ENABLED=1 GOOS=linux go build -o main
|
||||||
|
|
||||||
FROM alpine:latest AS production
|
FROM alpine:latest AS production
|
||||||
COPY --from=builder /app/cmd .
|
COPY --from=builder /app/cmd/main .
|
||||||
CMD ["./main"]
|
CMD ["./main"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user