From e90d030230a97f63b806b18d8495ba10901cd9bd Mon Sep 17 00:00:00 2001 From: Nando <24811313+fzavalia@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:26:11 +0100 Subject: [PATCH] fix: ulimit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2d661338..5c457364 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