mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 05:27:20 +00:00
Use pnpm in Dockerfile.
This commit is contained in:
parent
9b6504bd25
commit
6f40b88d48
@ -8,10 +8,12 @@ RUN --mount=type=cache,target=/var/cache/apk \
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/yarn \
|
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||||
|
|
||||||
|
RUN --mount=type=cache,target=/root/.local/share/pnpm \
|
||||||
--mount=type=cache,target=/app/node_modules \
|
--mount=type=cache,target=/app/node_modules \
|
||||||
yarn install --prefer-offline && \
|
pnpm install --prefer-offline && \
|
||||||
yarn build && ./localizefonts.sh
|
pnpm build && ./localizefonts.sh
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user