diff --git a/Dockerfile b/Dockerfile index ff49d61..911aaa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,13 +52,11 @@ ENV PATH="${VIRTUAL_ENV}/bin:${PATH}" PYTHONPATH=/backend \ UWSGI_VIRTUALENV=${VIRTUAL_ENV} UWSGI_MASTER=1 UWSGI_WORKERS=4 UWSGI_THREADS=8 UWSGI_MAX_FD=10000 \ UWSGI_LAZY_APPS=1 UWSGI_WSGI_ENV_BEHAVIOR=holy PYTHONDONTWRITEBYTECODE=1 -RUN dnf -y upgrade && dnf -y install python3.11 python3.11-pip ca-certificates pcre-devel \ +RUN dnf -y upgrade && dnf -y install python3.11 ca-certificates pcre-devel \ && dnf -y autoremove \ && dnf clean all \ && mkdir -p -m 0744 /backend/storage \ - && source "${VIRTUAL_ENV}/bin/activate" \ - && pip install --upgrade pip \ - && pip install --upgrade setuptools + && source "${VIRTUAL_ENV}/bin/activate" # Start uWSGI CMD ["/venv/bin/uwsgi", "--http-auto-chunked", "--http-keepalive"]