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
commit da601f0bef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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
```