docker: maintain uv sync cache
This commit is contained in:
@@ -11,3 +11,4 @@ build
|
|||||||
.venv
|
.venv
|
||||||
.env
|
.env
|
||||||
*log
|
*log
|
||||||
|
uv.lock
|
||||||
+2
-1
@@ -31,8 +31,9 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||||
|
|
||||||
COPY src/api/ /app
|
COPY src/api/pyproject.toml /app
|
||||||
RUN uv sync
|
RUN uv sync
|
||||||
|
COPY src/api/ /app
|
||||||
COPY --from=0 /build/build /app/src/build
|
COPY --from=0 /build/build /app/src/build
|
||||||
|
|
||||||
RUN ln -s /app/src/pdf/fonts /tmp/fonts
|
RUN ln -s /app/src/pdf/fonts /tmp/fonts
|
||||||
|
|||||||
Generated
-1993
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user