docker: Expose 8080 from dockerfile (#30)

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:
Baalaji 2021-12-19 17:54:53 +05:30 committed by GitHub
parent 15b32b093e
commit befc9615d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"]