chore: update base image to Python 3.12 in Dockerfile (#10358)

This commit is contained in:
-LAN-
2024-11-22 19:43:19 +08:00
committed by GitHub
parent 08ac36812b
commit da601f0bef
3 changed files with 19 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
# base image
FROM python:3.10-slim-bookworm AS base
FROM python:3.12-slim-bookworm AS base
WORKDIR /app/api

View File

@@ -42,7 +42,7 @@
5. Install dependencies
```bash
poetry env use 3.10
poetry env use 3.12
poetry install
```
@@ -81,5 +81,3 @@
```bash
poetry run -C api bash dev/pytest/pytest_all_tests.sh
```