init django-rq

This commit is contained in:
2025-02-11 20:43:52 +03:00
parent 9d14ac88e5
commit 69f02096da
17 changed files with 159 additions and 69 deletions

16
docker/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.12.0-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN apt-get update && \
apt-get install -y python3-dev gcc libc-dev libffi-dev && \
apt-get -y install libpq-dev gcc
COPY ../src/requirements.txt .
RUN pip install --upgrade pip && \
pip install -r requirements.txt
COPY ../src .