new python3 and traefik versions

This commit is contained in:
Gunther Weissenbaeck 2024-11-17 11:05:53 +01:00
parent cc16f0ad3a
commit d32780b0c3
5 changed files with 5 additions and 9 deletions

View file

@ -1,7 +1,7 @@
# app/Dockerfile # app/Dockerfile
# pull the official docker image # pull the official docker image
FROM python:3.11.5-slim FROM python:3.13-slim
# set work directory # set work directory
WORKDIR /app WORKDIR /app

View file

@ -3,7 +3,7 @@
########### ###########
# pull official base image # pull official base image
FROM python:3.11-slim as builder FROM python:3.13-slim as builder
# set work directory # set work directory
WORKDIR /app WORKDIR /app

View file

@ -1,5 +1,3 @@
version: '3.8'
services: services:
web: web:
build: build:

View file

@ -1,5 +1,3 @@
version: '3.8'
services: services:
web: web:
build: ./app build: ./app
@ -49,7 +47,7 @@ services:
- "POSTGRES_DB=${DB_NAME}" - "POSTGRES_DB=${DB_NAME}"
traefik: traefik:
image: traefik:v2.10.4 image: traefik:v3.2.0
container_name: django_fbf_traefik_1 container_name: django_fbf_traefik_1
ports: ports:
- 8008:80 - 8008:80

View file

@ -1,3 +1,3 @@
FROM traefik:v2.10 FROM traefik:v3.2.0
COPY ./traefik.prod.toml ./etc/traefik/traefik.toml COPY ./traefik.prod.toml ./etc/traefik/traefik.toml