Skip to content

Commit

Permalink
ci: increase yarn network timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
plmercereau authored Jan 20, 2022
1 parent ba324c0 commit aaef197
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:14-alpine AS builder
WORKDIR /app
COPY package.json yarn.lock tsconfig.json tsconfig.build.json ./
RUN yarn install
RUN yarn install --frozen-lockfile --network-timeout 1000000
COPY src/ ./src/
COPY types/ ./types/
RUN yarn build
Expand All @@ -13,9 +13,9 @@ ENV AUTH_HOST localhost
ENV AUTH_PORT 4000
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --production && yarn cache clean
RUN yarn install --production --frozen-lockfile --network-timeout 1000000 && yarn cache clean
COPY migrations/ ./migrations/
COPY email-templates/ ./email-templates
COPY --from=builder ./app/dist dist/
HEALTHCHECK --interval=60s --timeout=2s --retries=3 CMD wget ${AUTH_HOST}:${AUTH_PORT}/healthz -q -O - > /dev/null 2>&1
CMD ["yarn", "run", "start"]
CMD ["yarn", "run", "start"]

0 comments on commit aaef197

Please sign in to comment.