diff --git a/Dockerfile b/Dockerfile index 8744cc91..1c1cfa2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.opensuse.org/opensuse/leap:15.3 +FROM registry.suse.com/bci/python:3.10 ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 UWSGI_WSGI_FILE=/pcw/webui/wsgi.py UWSGI_MASTER=1 ENV UWSGI_HTTP_AUTO_CHUNKED=1 UWSGI_HTTP_KEEPALIVE=1 UWSGI_LAZY_APPS=1 UWSGI_WSGI_ENV_BEHAVIOR=holy @@ -10,7 +10,7 @@ COPY requirements.txt /pcw/ # * Install system requirements # * Install pip requirements # * Empty system cache to conserve some space -RUN zypper -n in python3 python3-devel python3-pip gcc && pip3 install -r /pcw/requirements.txt && rm -rf /var/cache +RUN zypper -n in python310-devel python310-pip gcc libffi-devel && pip3.10 install -r /pcw/requirements.txt && rm -rf /var/cache # Copy program files only COPY ocw /pcw/ocw/ diff --git a/requirements.txt b/requirements.txt index 7225a02a..79629342 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,12 +4,12 @@ azure-mgmt-storage==10.0.0 azure-mgmt-resource==10.0.0 azure-storage-blob==12.4.0 msrestazure==0.6.4 -uwsgi==2.0.19.1 +uwsgi==2.0.20 requests==2.25.1 -django==3.1.7 -django-tables2==2.3.4 -django-filter==2.4.0 -django-bootstrap4==2.3.1 +django==4.0.6 +django-tables2==2.4.1 +django-filter==22.1 +django-bootstrap4==22.1 texttable oauth2client==4.1.3 google-api-python-client==2.0.2 diff --git a/webui/settings.py b/webui/settings.py index 4f94ccbc..768f16a7 100644 --- a/webui/settings.py +++ b/webui/settings.py @@ -125,8 +125,6 @@ USE_I18N = True -USE_L10N = True - USE_TZ = True