Skip to content

Commit

Permalink
Fix: build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vgjm committed Mar 17, 2024
1 parent 02d8cf2 commit aa120b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ RUN go mod download && go mod verify
COPY . .
RUN go build -o /bin/app

FROM debian:latest
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

EXPOSE 5000
CMD ["/bin/app"]

0 comments on commit aa120b6

Please sign in to comment.