diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..408aa63 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM python:3.13 + +WORKDIR /usr/local/app + +COPY server/requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt + +COPY server/python_server.py +EXPOSE 8080 + +RUN useradd app +USER app + +CMD ["gunicorn", "-w", "4", "python_server:app", "--bind", "0.0.0.0:8080"]