FROM python:3.9 WORKDIR /code ENV HOME=/code RUN apt install curl RUN pip install pip -U COPY requirements.txt . RUN pip install -r requirements.txt COPY . . RUN mkdir -p /code/.cache RUN chmod -R 777 /code CMD ["python", "run.py"]