Skip to content

Commit acb1089

Browse files
committed
Using newer python versions to accomodate Django 5.0.7
1 parent ecf8700 commit acb1089

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9-slim
1+
FROM python:3.10-slim
22

33
# Install packages needed to run your application (not build deps):
44
# We need to recreate the /usr/share/man/man{1..8} directories first because
@@ -34,7 +34,7 @@ RUN set -ex \
3434
zlib1g-dev \
3535
" \
3636
&& apt-get update && apt-get install -y --no-install-recommends $BUILD_DEPS \
37-
&& python3.9 -m venv ${VIRTUAL_ENV} \
37+
&& python3.10 -m venv ${VIRTUAL_ENV} \
3838
&& pip install -U pip \
3939
&& pip install --no-cache-dir -r /requirements/production.txt \
4040
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $BUILD_DEPS \

requirements/production.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ django-storages==1.14.2
1111
botocore>=1.12.33,<1.13
1212
aws-requests-auth==0.4.3
1313
django-redis==5.4.0
14-
django-basic-auth-ip-whitelist==0.5
14+
django-basic-auth-ip-whitelist==0.6

0 commit comments

Comments
 (0)