From 87826b1668752a1e4ede0f1e59db32a49e014a94 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 27 Mar 2019 16:56:54 +0000 Subject: Expose port 80 --- Dockerfile | 2 +- boot.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b34919..4e4b5ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,5 +33,5 @@ ENV FLASK_APP annotate_change.py RUN chown -R annotate_change:annotate_change ./ USER annotate_change -EXPOSE 5000 +EXPOSE 80 ENTRYPOINT ["./boot.sh"] diff --git a/boot.sh b/boot.sh index 9d50eef..9f6a220 100644 --- a/boot.sh +++ b/boot.sh @@ -6,5 +6,5 @@ poetry shell # Run database migrations flask db upgrade -exec gunicorn -b :5000 --access-logfile - --error-logfile - annotate_change:app +exec gunicorn -b :80 --access-logfile - --error-logfile - annotate_change:app -- cgit v1.2.3