From 41a383800dcbe8b7e1a5b6feb46d1ee0e3ad912f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 11 Jan 2023 08:43:45 +0000 Subject: [PATCH] Update to Python 3.11 --- .gitlab-ci.yml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d2d2ea..1f24435 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ static: expire_in: 2 hours pip: - image: python:3.10-slim + image: python:3.11-slim stage: build variables: PIP_CACHE_DIR: $CI_PROJECT_DIR/.pip-cache @@ -43,7 +43,7 @@ pip: expire_in: 2 hours .python_test_template: - image: python:3.10-slim + image: python:3.11-slim stage: test dependencies: - pip diff --git a/Dockerfile b/Dockerfile index 2b5ba68..ccf7d28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY ./static/src ./static/src RUN npm run build # The actual container -FROM python:3.10-slim as production +FROM python:3.11-slim as production ENV VIRTUAL_ENV=/venv