Limitando el uso de recursos de la maquina de docker pare el frontend
This commit is contained in:
@@ -3,6 +3,9 @@ FROM node:14-alpine
|
|||||||
WORKDIR /angular
|
WORKDIR /angular
|
||||||
|
|
||||||
COPY package.json /angular
|
COPY package.json /angular
|
||||||
|
COPY package-lock.json /angular
|
||||||
|
|
||||||
|
ENV NODE_OPTIONS="--max_old_space_size=400"
|
||||||
|
|
||||||
RUN npm install --verbose
|
RUN npm install --verbose
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user