Increase ulimit to try and fix docker error

This commit is contained in:
Travis Shivers 2020-07-23 20:28:20 -05:00
parent 55dda83471
commit 6d3a24fae1
No known key found for this signature in database
GPG Key ID: EE4CC2891B8FCD33
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ jobs:
--build-arg SOURCE_BRANCH=${SOURCE_BRANCH} \ --build-arg SOURCE_BRANCH=${SOURCE_BRANCH} \
--cache-from "type=local,src=/tmp/.buildx-cache" \ --cache-from "type=local,src=/tmp/.buildx-cache" \
--cache-to "type=local,dest=/tmp/.buildx-cache" \ --cache-to "type=local,dest=/tmp/.buildx-cache" \
--ulimit nofile=65536:65536 \
${TAGS} --file ./Dockerfile ./ ${TAGS} --file ./Dockerfile ./
- -
name: Set up Docker Buildx name: Set up Docker Buildx

View File

@ -15,7 +15,7 @@ FROM node:current-alpine as dependency-stage
WORKDIR /app WORKDIR /app
## Install build toolchain, install node deps and compile native add-ons ## Install build toolchain, install node deps and compile native add-ons
RUN apk add --no-cache python make g++ 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 docker-entrypoint.sh .
COPY config config COPY config config