Skip to content

Commit 6887acf

Browse files
committed
fix: add timeout on yarn install + ignore script
1 parent bc141e1 commit 6887acf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ FROM node:16-bullseye AS build-frontend
1313
WORKDIR /wd
1414
ENV PARCEL_WORKERS 1
1515
COPY package.json yarn.lock ./
16-
RUN yarn install --frozen-lockfile
16+
RUN yarn install --frozen-lockfile --ignore-scripts --network-timeout 300000
1717
COPY tsconfig.json ./
1818
COPY client/ ./client/
1919
RUN yarn build

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ optimize:
129129

130130
build/smocker.tar.gz:
131131
$(MAKE) build
132-
yarn install --frozen-lockfile
132+
yarn install --frozen-lockfile --ignore-scripts --network-timeout 300000
133133
yarn build
134134
cd build/; tar cvf smocker.tar.gz *
135135

0 commit comments

Comments
 (0)