trying another path
This commit is contained in:
+1
-2
@@ -5,7 +5,6 @@ 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 .
|
||||||
WORKDIR /
|
|
||||||
CMD ["./main"]
|
CMD ["./main"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user