Upgrade pip

This commit is contained in:
2025-06-04 21:58:42 +01:00
parent c1e9013353
commit 4a386dd4dc
2 changed files with 2 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ FROM httpd:2.4
RUN apt-get update
RUN apt-get -y install libapache2-mod-wsgi-py3 python3 python3-pip
COPY src/requirements.txt /var/www/jc/requirements.txt
RUN pip3 install --upgrade pip --break-system-packages
RUN pip3 install -r /var/www/jc/requirements.txt || pip3 install --break-system-packages -r /var/www/jc/requirements.txt
COPY --chown=www-data:www-data config/httpd.conf /usr/local/apache2/conf/httpd.conf
COPY --chown=www-data:www-data src/ /var/www/jc