Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Dec 6, 2024
1 parent a5695c5 commit bcbc60b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ RUN go mod download -x

COPY . ./

RUN GOOS=linux GOARCH=amd64 go build -o /bin/mailroom ./cmd/mailroom/*.go
RUN GOOS=linux GOARCH=amd64 go build -o /bin/courier ./cmd/courier/*.go

FROM gcr.io/distroless/base-debian12

WORKDIR /app

COPY --from=builder bin/mailroom ./
COPY --from=builder bin/courier ./

EXPOSE 8090
EXPOSE 8080
ENTRYPOINT ["./courier"]

0 comments on commit bcbc60b

Please sign in to comment.