From 59c454d8f7bcfef3b8d7619eac3ec39d7e3d6b33 Mon Sep 17 00:00:00 2001 From: Nando <24811313+fzavalia@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:23:05 +0100 Subject: [PATCH] fix: ulimit --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9062d41..2e9985b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,8 @@ RUN apk add --no-cache py3-setuptools \ # 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