aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-27 16:56:54 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-27 16:56:54 +0000
commit87826b1668752a1e4ede0f1e59db32a49e014a94 (patch)
tree19804acb55d4d2ef93b9d04b7d55e4ed9c2384c0
parentShow completed on only when completed (diff)
downloadAnnotateChange-87826b1668752a1e4ede0f1e59db32a49e014a94.tar.gz
AnnotateChange-87826b1668752a1e4ede0f1e59db32a49e014a94.zip
Expose port 80
-rw-r--r--Dockerfile2
-rw-r--r--boot.sh2
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