FROM python:3.10.7 # python envs ENV PYTHONFAULTHANDLER=1 \ PYTHONUNBUFFERED=1 \ PYTHONHASHSEED=random \ PIP_NO_CACHE_DIR=off \ PIP_DISABLE_PIP_VERSION_CHECK=on \ PIP_DEFAULT_TIMEOUT=100 # python dependencies COPY ./requirements.txt / RUN pip install -r /requirements.txt COPY ./scripts/start.sh ./scripts/gunicorn.sh / RUN chmod +x /start.sh RUN chmod +x /gunicorn.sh WORKDIR /app