diff --git a/Dockerfile b/Dockerfile index 2d66133..5c45736 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,8 @@ RUN apk add --no-cache py3-setuptools python3-dev build-base # install dependencies COPY package.json /app/package.json COPY package-lock.json /app/package-lock.json +# increase the number of file descriptors to avoid EMFILE error +RUN ulimit -n 4096 RUN npm ci # build the app