1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-03-22 22:35:06 +00:00

frontend build cache

This commit is contained in:
Kyle Mendell
2026-03-08 15:22:10 -05:00
parent b4c3f946be
commit aff19e797c

View File

@@ -18,7 +18,9 @@ RUN --mount=type=cache,target=/root/.local/share/pnpm/store \
COPY ./frontend ./frontend/
RUN BUILD_OUTPUT_PATH=dist pnpm --filter pocket-id-frontend run build
RUN --mount=type=cache,target=/build/frontend/node_modules/.vite \
--mount=type=cache,target=/build/frontend/.svelte-kit \
BUILD_OUTPUT_PATH=dist pnpm --filter pocket-id-frontend run build
# Stage 2: Build Backend
FROM golang:1.26-alpine AS backend-builder