diff --git a/dockerfiles/swh-web/entrypoint.sh b/dockerfiles/swh-web/entrypoint.sh index a2122dc..5988ffd 100755 --- a/dockerfiles/swh-web/entrypoint.sh +++ b/dockerfiles/swh-web/entrypoint.sh @@ -1,18 +1,25 @@ #!/bin/bash set -e if [[ -d /src ]] ; then for srcrepo in /src/swh-* ; do echo installing $srcrepo pip install -e . popd done fi if [ "$1" = 'shell' ] ; then exec bash -i else echo "starting the swh-web server" - exec python3 -m swh.web.manage runserver --verbosity 3 --insecure 0.0.0.0:5004 + # options: + # --verbosity to have sensible output + # --insecure to serve the static css/js + # 0.0.0.0 so that we can actually reach the service. + exec python3 -m swh.web.manage runserver \ + --verbosity 3 \ + --insecure \ + 0.0.0.0:5004 fi