From 372df4d8f7907c7f72f3ffe66ac80f3e3a642dcb Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 2 Jan 2023 21:34:32 +0000 Subject: [PATCH] Add curl as dependency before. --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 881f371a..d005c367 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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