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
|
||||
|
||||
FROM alpine:latest AS production
|
||||
COPY --from=builder /app/cmd /
|
||||
WORKDIR /
|
||||
COPY --from=builder /app/cmd .
|
||||
CMD ["./main"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user