Skip to content

Commit ca5410d

Browse files
committed
fixing build
1 parent 4f5f6b6 commit ca5410d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/docker_build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
restore-keys: |
5252
${{ runner.os }}-node-modules-${{ hashFiles('./package.json') }}-
5353
- name: Yarn build
54-
run: yarn install --frozen-lockfile
54+
run: yarn install --frozen-lockfile || yarn install --frozen-lockfile
5555

5656
- name: Get package version
5757
id: get_package_version

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ ENV CHROMIUM_PATH=/usr/bin/chromium-browser-unstable
222222
ENTRYPOINT ["/app/entrypoint.sh"]
223223

224224
COPY package.json yarn.lock /app/
225-
RUN PUPPETEER_SKIP_DOWNLOAD=true yarn install --frozen-lockfile --production
225+
ENV PUPPETEER_SKIP_DOWNLOAD=true
226+
RUN yarn install --frozen-lockfile --production || yarn install --frozen-lockfile --production
226227

227228
COPY scripts /app/scripts/
228229
COPY app.min.js entrypoint.sh /app/

0 commit comments

Comments
 (0)