lavkach3
1FROM python:3.12
2
3RUN mkdir /basic
4
5WORKDIR /basic
6
7COPY requirements.txt .
8
9RUN pip install -r requirements.txt
10
11COPY . .
12ENV PYTHONPATH="${PYTHONPATH}:/basic/backend"
13RUN chmod a+x docker/*.sh
14
15CMD gunicorn app.basic.server:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind=0.0.0.0:8000