diff --git a/python/Dockerfile b/python/Dockerfile index 9d90626f8e7..42ebb884200 100644 --- a/python/Dockerfile +++ b/python/Dockerfile @@ -1,4 +1,9 @@ -FROM python:3.11-slim +{{#language.version}} + FROM python:{{{.}}}-slim +{{/language.version}} +{{^language.version}} + FROM python:3.12-slim +{{/language.version}} WORKDIR /usr/src/app diff --git a/python/aiohttp/config.yaml b/python/aiohttp/config.yaml index 9479f7b5257..fae72fd7d9d 100644 --- a/python/aiohttp/config.yaml +++ b/python/aiohttp/config.yaml @@ -8,6 +8,7 @@ framework: - uvloop language: + version: 3.11 engines: gunicorn: environment: diff --git a/python/config.yaml b/python/config.yaml index b0708bb99ff..b359eaf7095 100644 --- a/python/config.yaml +++ b/python/config.yaml @@ -1,5 +1,5 @@ language: - version: 3.11 + version: 3.12 engines: cheroot: @@ -76,6 +76,8 @@ language: framework: engines: - gunicorn + build_deps: + - build-essential files: - "**/*.py" - requirements.txt diff --git a/python/emmett/config.yaml b/python/emmett/config.yaml index 0c4f0f61dba..6a5657edb80 100644 --- a/python/emmett/config.yaml +++ b/python/emmett/config.yaml @@ -11,6 +11,7 @@ framework: - libssl-dev language: + version: 3.11 engines: gunicorn: environment: diff --git a/python/happyx/config.yaml b/python/happyx/config.yaml index 1fc8587c8dd..1dbfb8ae403 100644 --- a/python/happyx/config.yaml +++ b/python/happyx/config.yaml @@ -7,6 +7,7 @@ framework: - happyx language: + version: 3.11 engines: happyx: command: python server.py diff --git a/python/masonite/config.yaml b/python/masonite/config.yaml index 7e47bf5ae61..76b9296ec90 100644 --- a/python/masonite/config.yaml +++ b/python/masonite/config.yaml @@ -19,6 +19,7 @@ framework: - rustup default nightly language: + version: 3.11 engines: gunicorn: environment: diff --git a/python/nameko/config.yaml b/python/nameko/config.yaml index 7cd4c155fa5..5d659da241c 100644 --- a/python/nameko/config.yaml +++ b/python/nameko/config.yaml @@ -11,6 +11,7 @@ framework: - nameko.yaml language: + version: 3.11 engines: nameko: command: nameko run server --config nameko.yaml