mirror of
https://github.com/mozilla-services/syncserver
synced 2024-11-01 03:20:32 +00:00
Dockerfile: Expose port 5000
Exposing the port is very helpful on the latest version of Synology's Docker integration into their DiskStation Manager (DSM). Once you expose the port, you can easily set up a reverse proxy on it. Other Docker-based products might also benefit from it. Therefore I'm contributing this change here. Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
This commit is contained in:
parent
8d98040d37
commit
ef7e99f37d
@ -25,6 +25,9 @@ RUN python ./setup.py develop
|
|||||||
# run as non priviledged user
|
# run as non priviledged user
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
|
# expose the default http port
|
||||||
|
EXPOSE 5000
|
||||||
|
|
||||||
# run the server by default
|
# run the server by default
|
||||||
ENTRYPOINT ["/usr/bin/dumb-init", "/app/docker-entrypoint.sh"]
|
ENTRYPOINT ["/usr/bin/dumb-init", "/app/docker-entrypoint.sh"]
|
||||||
CMD ["server"]
|
CMD ["server"]
|
||||||
|
Loading…
Reference in New Issue
Block a user