diff --git a/Dockerfile b/Dockerfile index 983b6e7..7dcb059 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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 cra-envs@1.2.8 -CMD sh -c "npx embed-environnement-variables && nginx -g 'daemon off;'" \ No newline at end of file +CMD sh -c "npx embed-environnement-variables && nginx -g 'daemon off;'"