Increase ulimit to try and fix docker error
This commit is contained in:
parent
55dda83471
commit
6d3a24fae1
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue