fix: CMD docker con --frozen --no-dev (no sync dev deps a ogni avvio)
CI / test (push) Failing after 23s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 14:18:08 +00:00
parent cdd9455d27
commit 4652202dae
+3 -1
View File
@@ -35,4 +35,6 @@ EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/images').read()" || exit 1
CMD ["uv", "run", "python", "main.py"]
# --frozen --no-dev: senza, uv run ri-sincronizza il gruppo dev
# (pytest/ruff) a OGNI avvio del container, scaricando pacchetti a runtime
CMD ["uv", "run", "--frozen", "--no-dev", "python", "main.py"]