FROM python:3.11 # set work directory WORKDIR /code # copy project COPY . /code/ RUN python -m venv ./arxiv_venv RUN source ./arxiv_venv/bin/activate # install dependencies RUN pip install -r requirement.txt EXPOSE 8000 CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]