Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -16,9 +16,9 @@ RUN --mount=type=cache,target=/var/cache/apk \
|
|
| 16 |
|
| 17 |
RUN corepack enable && corepack prepare pnpm@latest --activate
|
| 18 |
|
| 19 |
-
RUN
|
| 20 |
--mount=type=cache,target=/app/node_modules \
|
| 21 |
-
pnpm install --prefer-offline && \
|
| 22 |
pnpm build && ./localizefonts.sh
|
| 23 |
|
| 24 |
FROM nginxinc/nginx-unprivileged:alpine
|
|
|
|
| 16 |
|
| 17 |
RUN corepack enable && corepack prepare pnpm@latest --activate
|
| 18 |
|
| 19 |
+
RUN --mount=type=cache,target=/root/.local/share/pnpm \
|
| 20 |
--mount=type=cache,target=/app/node_modules \
|
| 21 |
+
cd /app && pnpm install --prefer-offline && \
|
| 22 |
pnpm build && ./localizefonts.sh
|
| 23 |
|
| 24 |
FROM nginxinc/nginx-unprivileged:alpine
|