1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-12 21:30:27 +05:30

Add curl as dependency before.

This commit is contained in:
Kavin 2023-01-02 21:34:32 +00:00
parent 54904fc6c7
commit 372df4d8f7
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -2,11 +2,14 @@ FROM node:lts-alpine AS build
WORKDIR /app/
RUN --mount=type=cache,target=/var/cache/apk \
apk add --no-cache \
curl
COPY . .
RUN --mount=type=cache,target=/root/.cache/yarn \
--mount=type=cache,target=/app/node_modules \
pkg add curl && \
yarn install --prefer-offline && \
yarn build && ./localizefonts.sh