Skip to content

Commit

Permalink
Using newer python versions to accomodate Django 5.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR committed Jul 12, 2024
1 parent ecf8700 commit acb1089
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.10-slim

# Install packages needed to run your application (not build deps):
# We need to recreate the /usr/share/man/man{1..8} directories first because
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN set -ex \
zlib1g-dev \
" \
&& apt-get update && apt-get install -y --no-install-recommends $BUILD_DEPS \
&& python3.9 -m venv ${VIRTUAL_ENV} \
&& python3.10 -m venv ${VIRTUAL_ENV} \
&& pip install -U pip \
&& pip install --no-cache-dir -r /requirements/production.txt \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $BUILD_DEPS \
Expand Down
2 changes: 1 addition & 1 deletion requirements/production.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ django-storages==1.14.2
botocore>=1.12.33,<1.13
aws-requests-auth==0.4.3
django-redis==5.4.0
django-basic-auth-ip-whitelist==0.5
django-basic-auth-ip-whitelist==0.6

0 comments on commit acb1089

Please sign in to comment.