Skip to content

Commit

Permalink
Merge pull request #93 from thegalactiks/add-dockerfile-labels
Browse files Browse the repository at this point in the history
Add dockerfile expose instruction
  • Loading branch information
emmanuelgautier authored Nov 23, 2024
2 parents ff83c91 + 6809278 commit 569e679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .docker/Dockerfile-build
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ FROM gcr.io/distroless/static-debian11:nonroot AS runner

COPY --from=builder --chown=nonroot:nonroot /usr/bin/giteway /usr/bin/giteway

EXPOSE 5000

ENTRYPOINT ["giteway", "serve"]
CMD ["giteway"]
2 changes: 2 additions & 0 deletions .docker/Dockerfile-goreleaser
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ FROM gcr.io/distroless/static-debian11:nonroot

COPY --chown=nonroot:nonroot giteway /usr/bin/giteway

EXPOSE 5000

ENTRYPOINT ["giteway", "serve"]
CMD ["giteway"]

0 comments on commit 569e679

Please sign in to comment.