Skip to content

Commit f719514

Browse files
authored
Update Docker images: (#91)
* Python from 3.10.6 to 3.11.2 * PostgreSQL from 13.6 to 13.10 * Redis from 6.2.6 to 7.0.8
1 parent 28349f2 commit f719514

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

pdm.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cookiecutter-django-postgres-redis-celery"
3-
version = "0.1.0"
3+
version = "1.0.2"
44
description = "Django/PostgreSQL/Redis/Celery in Docker cookiecutter"
55
authors = [
66
{name = "Michal Nakoneczny", email = "michal@nakoneczny.pl"},

{{ cookiecutter.project_name }}/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3.8"
22
services:
33
db:
4-
image: "postgres:13.6-alpine3.15"
4+
image: "postgres:13.10-alpine3.17"
55
restart: "on-failure"
66
environment:
77
POSTGRES_HOST: "${POSTGRES_HOST}"
@@ -17,7 +17,7 @@ services:
1717
retries: 3
1818

1919
redis:
20-
image: "redis:6.2.6-alpine3.15"
20+
image: "redis:7.0.8-alpine3.17"
2121
command: >
2222
--requirepass ${REDIS_PASSWORD}
2323
restart: "on-failure"

{{ cookiecutter.project_name }}/webapp/Dockerfile

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

33
ARG USER_ID
44
ARG GROUP_ID
@@ -14,7 +14,7 @@ USER user
1414

1515
WORKDIR /app
1616
RUN python -m pip install --upgrade pip==23.0.1 && pip install --user pdm==2.4.5
17-
ENV PATH="/app/__pypackages__/3.10/bin:/home/user/.local/bin:${PATH}"
17+
ENV PATH="/app/__pypackages__/3.11/bin:/home/user/.local/bin:${PATH}"
1818

1919
COPY pdm.lock pyproject.toml /app/
2020
RUN pdm install

{{ cookiecutter.project_name }}/webapp/production.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM {{ cookiecutter.project_name }}_webapp:dev as builder
22

3-
FROM python:3.10.6-alpine3.16
3+
FROM python:3.11.2-alpine3.17
44

55
COPY --from=builder /app /app
66

0 commit comments

Comments
 (0)