Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
- name: 📄 Install dependencies
run: poetry install --no-interaction --no-root

- name: ✅ Run tests
run: poetry run pytest -v

- name: 🧼 Check formatting
run: |
pip install black
Expand All @@ -40,3 +37,6 @@ jobs:
run: |
pip install ruff
ruff check .

- name: ✅ Run tests
run: poetry run pytest -v
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ WORKDIR /build
RUN pip install --no-cache-dir poetry
COPY pyproject.toml poetry.lock ./
RUN poetry config virtualenvs.create false \
&& poetry install --no-root --only main
&& poetry install --no-root --only main

FROM python:3.13-slim
LABEL maintainer="Simone Locci <[email protected]>"

ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

WORKDIR /app
COPY --from=builder /usr/local/lib/python3.13/site-packages /usr/local/lib/python3.13/site-packages
Expand Down