chore: 📌 pin python 3.13 version

This commit is contained in:
Michel Roux 2025-04-10 10:29:36 +00:00
parent 24cbd6bee6
commit f2135ff7f0
2 changed files with 3 additions and 3 deletions
.gitea/workflows
Dockerfile

@ -4,7 +4,7 @@ on: [push]
jobs:
python:
runs-on: ubuntu-latest
container: python:3.13.2-slim
container: python:3.13-slim
steps:
- run: apt-get update
- run: apt-get install -y git nodejs

@ -4,14 +4,14 @@ WORKDIR /app
COPY . .
RUN npm ci && npm run build
FROM python:3.13.2-slim AS backend
FROM python:3.13.3-slim AS backend
WORKDIR /app
COPY . .
COPY --from=frontend /app/backend/dist /app/backend/dist
RUN pip install poetry && poetry build
FROM python:3.13.2-slim
FROM python:3.13.3-slim
COPY --from=backend /app/dist /tmp/dist
RUN pip install /tmp/dist/*.whl && rm -rf /tmp/dist