Przeglądaj źródła

fix: exclude dev dependencies from production Docker image (#23562)

tags/1.7.2
-LAN- 2 miesięcy temu
rodzic
commit
55487ba0c6
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      api/Dockerfile

+ 1
- 1
api/Dockerfile Wyświetl plik

@@ -19,7 +19,7 @@ RUN apt-get update \

# Install Python dependencies
COPY pyproject.toml uv.lock ./
RUN uv sync --locked
RUN uv sync --locked --no-dev

# production stage
FROM base AS production

Ładowanie…
Anuluj
Zapisz