Re-add missing WORKDIR statement

This commit is contained in:
akp 2024-03-19 17:45:12 +00:00
parent e151f2f2fa
commit 21f0c86936
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

View file

@ -23,5 +23,6 @@ RUN CGO_ENABLED=1 GOOS=linux go build -a -buildvcs=false -installsuffix cgo -ldf
FROM golang:1
COPY --from=builder /build/main /main
WORKDIR /run
CMD ["/main"]