mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-13 05:40:28 +05:30
Add curl as dependency before.
This commit is contained in:
parent
54904fc6c7
commit
372df4d8f7
@ -2,11 +2,14 @@ FROM node:lts-alpine AS build
|
|||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
|
RUN --mount=type=cache,target=/var/cache/apk \
|
||||||
|
apk add --no-cache \
|
||||||
|
curl
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/yarn \
|
RUN --mount=type=cache,target=/root/.cache/yarn \
|
||||||
--mount=type=cache,target=/app/node_modules \
|
--mount=type=cache,target=/app/node_modules \
|
||||||
pkg add curl && \
|
|
||||||
yarn install --prefer-offline && \
|
yarn install --prefer-offline && \
|
||||||
yarn build && ./localizefonts.sh
|
yarn build && ./localizefonts.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user