diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8ce6148f..ecebda4a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,6 +37,7 @@ jobs: --build-arg SOURCE_BRANCH=${SOURCE_BRANCH} \ --cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \ + --ulimit nofile=65536:65536 \ ${TAGS} --file ./Dockerfile ./ - name: Set up Docker Buildx diff --git a/Dockerfile b/Dockerfile index d6721ab1..1403e4fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ FROM node:current-alpine as dependency-stage WORKDIR /app ## Install build toolchain, install node deps and compile native add-ons RUN apk add --no-cache python make g++ -RUN NPM_CONFIG_PREFIX=/app/.npm-global NPM_CONFIG_CACHE=/home/node/.cache npm install --unsafe-perm -g syncloungesocket@2.0.6 nconf +RUN NPM_CONFIG_PREFIX=/app/.npm-global NPM_CONFIG_CACHE=/home/node/.cache npm install --unsafe-perm -g syncloungesocket@2.0.7 nconf COPY docker-entrypoint.sh . COPY config config