Update to Python 3.11

This commit is contained in:
Jake Howard 2023-01-11 08:43:45 +00:00
parent 67c4e6cfb7
commit 41a383800d
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ static:
expire_in: 2 hours expire_in: 2 hours
pip: pip:
image: python:3.10-slim image: python:3.11-slim
stage: build stage: build
variables: variables:
PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache
@ -43,7 +43,7 @@ pip:
expire_in: 2 hours expire_in: 2 hours
.python_test_template: .python_test_template:
image: python:3.10-slim image: python:3.11-slim
stage: test stage: test
dependencies: dependencies:
- pip - pip

View file

@ -9,7 +9,7 @@ COPY ./static/src ./static/src
RUN npm run build RUN npm run build
# The actual container # The actual container
FROM python:3.10-slim as production FROM python:3.11-slim as production
ENV VIRTUAL_ENV=/venv ENV VIRTUAL_ENV=/venv