From 7474e54765139f6ae2b2348b092fba0fb9c2d14c Mon Sep 17 00:00:00 2001 From: juacompe Date: Sun, 27 Dec 2020 16:35:34 +0700 Subject: [PATCH] build error in docker ref: https://github.com/cypress-io/cypress/issues/4595\#issuecomment-514033689 --- .travis.yml | 3 --- web/Dockerfile | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c81844d..9144cf7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,6 @@ cache: - api/node_modules - web/node_modules -environment: - CHILD_CONCURRENCY: 1 - script: - ./script/unittestweb - ./script/unittestapi diff --git a/web/Dockerfile b/web/Dockerfile index 9dded92..e3a2541 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,5 +1,6 @@ FROM node:latest AS build WORKDIR /app +ENV CHILD_CONCURRENCY 1 COPY package*.json ./ RUN npm install COPY . .