This commit is contained in:
caramelteawithmint
2026-11-27 07:52:15 +03:00
parent 6b60dd5d74
commit d8b193f62b
20 changed files with 966 additions and 150 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM python:3.11-slim-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PYTHONPATH=/app
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
build-essential \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "-m", "worker.main"]