mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Add curl as dependency before.
This commit is contained in:
parent
54904fc6c7
commit
372df4d8f7
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue