summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDylan Bolger <dylan.bolger00@gmail.com>2026-08-18 11:44:36 -0500
committerDylan Bolger <dylan.bolger00@gmail.com>2026-08-18 11:44:36 -0500
commit04892822306bf9a01de19cc70bcfc59d7fca9f8f (patch)
treefcc8bc92c5a15b669a657561dfe2ac7e14c72857 /Dockerfile
parenteead346519758f45dd587cfd471f90f6a6a8037f (diff)
downloadphotoblog-04892822306bf9a01de19cc70bcfc59d7fca9f8f.tar.xz
photoblog-04892822306bf9a01de19cc70bcfc59d7fca9f8f.zip
move from fastapi to flask, various cleanups involved
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index e135ca9..a49444b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,6 @@ RUN pip install -r requirements.txt
COPY . .
-EXPOSE 80
+EXPOSE 8000
-CMD ["fastapi", "run", "app/main.py", "--port", "80"] \ No newline at end of file
+CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0", "app.app:app"] \ No newline at end of file