commit 1940876d32af518632f328a414193add6e6f06ba
parent 7f101b61fb52ea1a972be1a66542092ff6c59227
Author: Oshgnacknak <jrenk@oshgnacknak.de>
Date: Sun, 4 Aug 2019 10:06:06 -0400
Add EXPOSE
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -8,5 +8,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY . .
+EXPOSE 5000
+
CMD [ "python", "./run.py" ]
diff --git a/README.md b/README.md
@@ -28,8 +28,7 @@ pyhton run.py
# Build from Github
docker build https://github.com/Oshgnacknak/SMTL -t smtl
-# Run exposing ports
-# Set secret key, port and database uri here
+# Run and set secret key, port and database uri here
docker run -d \
-p 80:80 \
-e PORT=80 \