summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--app.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 9e07041..e29bb9d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,4 +19,4 @@ RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
-CMD [ "python3", "-m" , "flask", "run"]
+CMD [ "python3", "-m" , "flask", "run", "--port", "5000", "--host", "0.0.0.0"]
diff --git a/app.py b/app.py
index 08874b9..f3ae6a7 100644
--- a/app.py
+++ b/app.py
@@ -31,3 +31,8 @@ if __name__ == '__main__':
# curl -X POST -F 'file=@/path/to/file' http://localhost:5000/upload
# curl http://localhost:5000/files
+
+
+
+# farben im putput weg
+# wsgi server