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/
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue