feat: prepare production Docker deployment

This commit is contained in:
Денис Братусев committed 2026-10-29 17:06:38 +03:00
1 parent 36b1341a10
commit d4cf42cb5e
5 files changed
+99 -16

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["gunicorn", "config.wsgi:application", "--bind", "0.0.0.0:8000", "--workers", "2"]