1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 07:18:06 +02:00

Update Django version to 4.2 (LTS) and Python to 3.12

Signed-off-by: Wes Lord <weslord@fisgardlabs.com>
This commit is contained in:
Wes Lord 2024-12-21 14:07:05 -08:00
parent 18f59bdb09
commit a0eb607d45
3 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.4
FROM --platform=$BUILDPLATFORM python:3.7-alpine AS builder
FROM --platform=$BUILDPLATFORM python:3.12-alpine AS builder
EXPOSE 8000
WORKDIR /app
COPY requirements.txt /app

View file

@ -13,9 +13,9 @@ Including another URLconf
1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
from django.urls import path
urlpatterns = [
url(r'^admin/', admin.site.urls),
path('admin/', admin.site.urls),
]

View file

@ -1,2 +1,2 @@
Django==3.2.13
Django~=4.2.17
environs==7.3.1