Fix dockerfiles

This commit is contained in:
Zoe Roux 2025-05-18 21:51:58 +02:00
parent 5b67848468
commit bff46f7319
No known key found for this signature in database
3 changed files with 5 additions and 4 deletions

View File

@ -3,5 +3,5 @@
!/bun.lock !/bun.lock
!/tsconfig.json !/tsconfig.json
!/patches !/patches
!/src/**.ts !/src
!/drizzle/** !/drizzle

View File

@ -1,5 +1,5 @@
** **
!/pyproject.toml !/pyproject.toml
!/uv.lock !/uv.lock
!/scanner/**.py !/scanner
!/migrations/**.sql !/migrations

View File

@ -7,6 +7,7 @@ RUN --mount=from=ghcr.io/astral-sh/uv,source=/uv,target=/bin/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \ --mount=type=bind,source=uv.lock,target=uv.lock \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --locked uv sync --locked
ENV PATH="/app/.venv/bin:$PATH"
COPY . . COPY . .