1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

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

View File

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