docker: Expose 8080 from dockerfile

This helps service discovery on traefik, which uses the exposed port to determine where to reverse proxy to

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2021-12-19 12:57:49 +05:30
parent 15b32b093e
commit df29c45c87
1 changed files with 1 additions and 0 deletions

View File

@ -22,4 +22,5 @@ FROM alpine:latest
WORKDIR /root
COPY --from=build /app/pasty .
COPY web ./web/
EXPOSE 8080
CMD ["./pasty"]