Finish remaining code

This commit is contained in:
Harshavardhan Musanalli
2026-02-13 09:48:41 +01:00
parent ca62f2c2a3
commit d720f43439
9 changed files with 444 additions and 8 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM docker.io/library/python:3.14-slim
RUN groupadd -r appuser && useradd -r -g appuser appuser
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ ./app/
USER appuser
EXPOSE 5000
CMD ["gunicorn", "-b", "0.0.0.0:5000", "app.server:app"]