mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
Increase the memory limit for real
This commit is contained in:
@@ -5,6 +5,7 @@ FROM node:8.11
|
||||
|
||||
|
||||
ENV HOME=/home/app
|
||||
ENV NODE_OPTIONS="--max_old_space_size=8000"
|
||||
|
||||
RUN mkdir -p /home/app
|
||||
COPY ./package.json /tmp
|
||||
@@ -16,6 +17,6 @@ ENV PATH /usr/app/node_modules/.bin:$PATH
|
||||
|
||||
WORKDIR $HOME
|
||||
COPY . $HOME/
|
||||
RUN node --max_old_space_size=8000 $(which npm) run build
|
||||
RUN npm run build
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
CMD ["npm", "run", "start:dev"]
|
||||
|
||||
Reference in New Issue
Block a user