diff --git a/Dockerfile b/Dockerfile index 2a2edaa5..c28f247b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,7 +61,7 @@ COPY . . RUN yum -y update RUN yum install -y nano python3-psycopg2 httpd.x86_64 conda gridsite mod_ssl.x86_64 httpd-devel.x86_64 gcc.x86_64 supervisor.noarch fetch-crl.noarch \ - python3 python3-devel less git ca-policy-egi-core \ + less git ca-policy-egi-core \ httpd-devel.x86_64 gcc.x86_64 supervisor.noarch fetch-crl.noarch wget net-tools sudo \ https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm && \ yum install -y postgresql14 postgresql14-devel @@ -75,10 +75,6 @@ RUN wget https://download.oracle.com/otn_software/linux/instantclient/oracle-ins RUN yum clean all && rm -rf /var/cache/yum -RUN python3 -m venv ${BIGMON_VIRTUALENV_PATH} --system-site-packages - -RUN ${BIGMON_VIRTUALENV_PATH}/bin/pip install --no-cache-dir --upgrade setuptools - RUN ${BIGMON_VIRTUALENV_PATH}/bin/pip install --no-cache-dir --upgrade channels pyOpenSSL daphne python-dotenv pyrebase4 confluent_kafka futures psycopg2-binary \ aenum appdirs argcomplete asn1crypto attrs aws bcrypt \ beautifulsoup4 boto3 bz2file cachetools certifi cffi chardet click codegen cryptography oracledb cycler \ diff --git a/docker/conf.d/wsgi-httpd.conf b/docker/conf.d/wsgi-httpd.conf index 9a165087..47bec967 100644 --- a/docker/conf.d/wsgi-httpd.conf +++ b/docker/conf.d/wsgi-httpd.conf @@ -1,4 +1,4 @@ -LoadModule wsgi_module /opt/bigmon/lib/python3.9/site-packages/mod_wsgi/server/mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so +LoadModule wsgi_module /opt/bigmon/lib/python3.11/site-packages/mod_wsgi/server/mod_wsgi-py311.cpython-311-x86_64-linux-gnu.so ### /devprodsys2 # Redirect /devprodsys to https://prodtask-dev.cern.ch/