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:
parent
18f59bdb09
commit
a0eb607d45
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
]
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Django==3.2.13
|
||||
Django~=4.2.17
|
||||
environs==7.3.1
|
Loading…
Add table
Add a link
Reference in a new issue