Skip to content

Commit

Permalink
Add timeout for metrial icaon download
Browse files Browse the repository at this point in the history
  • Loading branch information
ssup2 committed Feb 12, 2023
1 parent 1306bc4 commit 78ae555
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM node:19.2-alpine AS builder
WORKDIR /app
COPY package.json yarn.lock .env ./
RUN yarn add @mui/icons-material --network-timeout 500000 # https://github.com/yarnpkg/yarn/issues/8754
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build
Expand All @@ -12,4 +13,4 @@ COPY --from=builder /app/.env .
COPY --from=builder /app/build ./html
RUN apk add --update nodejs npm
RUN npm install -g [email protected]
CMD sh -c "npx embed-environnement-variables && nginx -g 'daemon off;'"
CMD sh -c "npx embed-environnement-variables && nginx -g 'daemon off;'"

0 comments on commit 78ae555

Please sign in to comment.