new python3 and traefik versions
This commit is contained in:
parent
cc16f0ad3a
commit
d32780b0c3
5 changed files with 5 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
# app/Dockerfile
|
||||
|
||||
# pull the official docker image
|
||||
FROM python:3.11.5-slim
|
||||
FROM python:3.13-slim
|
||||
|
||||
# set work directory
|
||||
WORKDIR /app
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
###########
|
||||
|
||||
# pull official base image
|
||||
FROM python:3.11-slim as builder
|
||||
FROM python:3.13-slim as builder
|
||||
|
||||
# set work directory
|
||||
WORKDIR /app
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: ./app
|
||||
dockerfile: Dockerfile.prod
|
||||
command: >
|
||||
command: >
|
||||
bash -c 'while !</dev/tcp/db/5432; do sleep 1; done;
|
||||
python manage.py migrate;
|
||||
python manage.py collectstatic --no-input --no-post-process;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
build: ./app
|
||||
|
@ -49,7 +47,7 @@ services:
|
|||
- "POSTGRES_DB=${DB_NAME}"
|
||||
|
||||
traefik:
|
||||
image: traefik:v2.10.4
|
||||
image: traefik:v3.2.0
|
||||
container_name: django_fbf_traefik_1
|
||||
ports:
|
||||
- 8008:80
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
FROM traefik:v2.10
|
||||
FROM traefik:v3.2.0
|
||||
|
||||
COPY ./traefik.prod.toml ./etc/traefik/traefik.toml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue