diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 84a52ca79f..7c00d206d7 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/sh cd /usr/src/app/ -node index.js -h $DATABASE_HOST -p $DATABASE_PASSWORD -d $DATABASE_NAME -u $DATABASE_USER \ No newline at end of file +node index.js -h $DATABASE_HOST -p $DATABASE_PASSWORD -d $DATABASE_NAME -u $DATABASE_USER -n 80 -r 0.0.0.0 diff --git a/dockerfile b/dockerfile index 96a296abce..b7271bd4a2 100644 --- a/dockerfile +++ b/dockerfile @@ -24,5 +24,5 @@ ENV DATABASE_USER root ENV DATABASE_PASSWORD password ENV DATABASE_NAME sakila -EXPOSE 3000 +EXPOSE 80 ENTRYPOINT ["/docker-entrypoint.sh"]