Skip to content

Commit dda0b66

Browse files
committed
try to fix yarn install in ci
1 parent a5f9f6a commit dda0b66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dockerimage/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ RUN openssl genrsa -out /tmp/private_rsa.pem 2048 \
1414
FROM node:22-alpine AS frontend-build
1515
WORKDIR /app/frontend
1616
RUN apk add --no-cache openssl git
17-
ENV YARN_CACHE_FOLDER=/root/.cache/yarn
1817
RUN yarn config set network-timeout 600000 \
1918
&& yarn config set registry https://registry.npmjs.org/
2019
COPY frontend/package.json frontend/yarn.lock ./
21-
RUN --mount=type=cache,target=/root/.cache/yarn yarn install --frozen-lockfile --network-timeout 600000 --prefer-offline
20+
RUN yarn install --frozen-lockfile --network-timeout 600000
2221
COPY frontend/ .
2322
# Use generated public key so the static bundle verifies backend JWTs
2423
COPY --from=keys /tmp/public.pem ./jwt-public.pub

0 commit comments

Comments
 (0)