Update docker to current/supported tool versions (#323)

* Update docker to current/supported tool versions

* Update Dockerfile

* dep updates
pull/326/head
Pomax 2022-03-04 04:13:31 -08:00 zatwierdzone przez GitHub
rodzic e17ecb9473
commit 4fb21cd9f8
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
FROM python:3.7-slim
FROM python:3.9-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
@ -30,7 +30,7 @@ RUN set -ex \
zlib1g-dev \
" \
&& apt-get update && apt-get install -y --no-install-recommends $BUILD_DEPS \
&& python3.7 -m venv /venv \
&& python3.9 -m venv /venv \
&& /venv/bin/pip install -U pip \
&& /venv/bin/pip install --no-cache-dir -r /requirements/production.txt \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $BUILD_DEPS \

Wyświetl plik

@ -7,12 +7,12 @@ services:
POSTGRES_USER: app_user
POSTGRES_PASSWORD: changeme
restart: always
image: postgres:9.6
image: postgres:14.1
expose:
- "5432"
redis:
restart: always
image: redis:3.0
image: redis:6.2
expose:
- "6379"
elasticsearch:

Wyświetl plik

@ -11,5 +11,5 @@ django-storages>=1.8,<1.9
# For retrieving credentials and signing requests to Elasticsearch
botocore>=1.12.33,<1.13
aws-requests-auth==0.4.0
django-redis==4.11.0
django-redis==5.2.0
django_cache_url==2.0.0