chore: ⬆️ update python
All checks were successful
pilotwings / python (push) Successful in 1m47s
pilotwings / node (push) Successful in 34s
pilotwings / docker (push) Successful in 1m46s

This commit is contained in:
Michel Roux 2024-12-22 10:15:39 +01:00
parent fadeea0b82
commit ed6aadc55f
2 changed files with 3 additions and 3 deletions

View File

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

View File

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