Skip to content

Commit

Permalink
fix: add network timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
bddvlpr committed Sep 21, 2023
1 parent d1f7288 commit f3ea3e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app

COPY package.json .
COPY yarn.lock .
RUN yarn install --frozen-lockfile
RUN yarn install --frozen-lockfile --network-timeout 1000000

COPY . .
RUN yarn build
Expand All @@ -17,7 +17,7 @@ COPY --from=build-env /app/package.json .
COPY --from=build-env /app/yarn.lock .
COPY --from=build-env /app/dist ./dist

RUN yarn --frozen-lockfile install --production
RUN yarn --frozen-lockfile install --production --network-timeout 1000000

LABEL org.opencontainers.image.source=https://github.com/bddvlpr/untis-ics-sync

Expand Down

0 comments on commit f3ea3e2

Please sign in to comment.