Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
argonaut0 committed Aug 23, 2023
1 parent 7bfceee commit 9874128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ RUN GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o /go/bin/app
############################
FROM scratch
# Copy ca-certs from builder since we need https
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /go/bin/app /
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
# Copy static binary
COPY --from=builder /go/bin/app
COPY --from=builder /go/bin/app /go/bin/app
# Run the binary.
ENTRYPOINT ["/go/bin/app"]

0 comments on commit 9874128

Please sign in to comment.