Compare commits
1
Commits
0.8.2
...
d9016a0cb0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9016a0cb0 |
+7
-3
@@ -24,12 +24,16 @@ RUN npm run build
|
|||||||
|
|
||||||
FROM python:3.14-slim
|
FROM python:3.14-slim
|
||||||
ENV PATH="/app/.venv/bin:$PATH"
|
ENV PATH="/app/.venv/bin:$PATH"
|
||||||
WORKDIR /app
|
ENV PLAYWRIGHT_BROWSERS_PATH=/root/pw-browsers
|
||||||
|
|
||||||
ENV TZ="Europe/Moscow"
|
ENV TZ="Europe/Moscow"
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --from=builder /app ./
|
COPY --from=builder /app ./
|
||||||
RUN .venv/bin/playwright install chromium --with-deps --only-shell
|
RUN --mount=type=cache,target=/root/pw-browsers \
|
||||||
|
--mount=type=cache,target=/var/cache/apt,sharing=locked \
|
||||||
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||||
|
.venv/bin/playwright install chromium --with-deps --only-shell
|
||||||
|
|
||||||
COPY --from=node-builder /app/dist ./static/dist
|
COPY --from=node-builder /app/dist ./static/dist
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user