mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-21 21:17:26 +00:00
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