From 981281b1a3f7fb14cf7d708a90ed084ca6b99a46 Mon Sep 17 00:00:00 2001 From: Fernando Zavalia <24811313+fzavalia@users.noreply.github.com> Date: Tue, 13 Feb 2024 12:36:30 -0300 Subject: [PATCH] fix: ulimit (#361) --- 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