Skip to content

Commit

Permalink
Fix: improve build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
vgjm committed Mar 17, 2024
1 parent 6feae39 commit 73f8c78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ COPY . .
RUN go build -o /bin/app

FROM ubuntu:latest
COPY --from=build /bin/app /bin/app
RUN apt-get update
RUN apt-get install -y ca-certificates
RUN update-ca-certificates

COPY --from=build /bin/app /bin/app

EXPOSE 5000
CMD ["/bin/app"]

0 comments on commit 73f8c78

Please sign in to comment.