New commit with working container containing functional flask running

This commit is contained in:
Henrik Corneliussen
2026-05-06 23:24:57 +02:00
parent ebcd2d5e43
commit d7544c2156
3 changed files with 37 additions and 3 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt gunicorn
COPY . .
EXPOSE 5000
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]