Permalink
Browse files

docker image now properly exposing a port

decided for 5000, as this was the suggestion in mozilla's tutorials
  • Loading branch information...
binfalse committed Jan 4, 2019
1 parent 90d8e83 commit bab1e044836abaad70c3048b8495c10af684cebf
Showing with 3 additions and 0 deletions.
  1. +3 −0 Dockerfile
@@ -23,6 +23,9 @@ RUN python ./setup.py develop
# run as non priviledged user
USER app

# properly expose a port
EXPOSE 5000

# run the server by default
ENTRYPOINT ["/usr/bin/dumb-init", "/app/docker-entrypoint.sh"]
CMD ["server"]

0 comments on commit bab1e04

Please sign in to comment.