Increase memory to avoid running out while building

This commit is contained in:
Nate Carlson
2020-11-26 20:29:05 -06:00
parent 4d4f2a13d4
commit da90ad5c7e

View File

@@ -16,6 +16,6 @@ ENV PATH /usr/app/node_modules/.bin:$PATH
WORKDIR $HOME
COPY . $HOME/
RUN npm run build
RUN node --max_old_space_size=8000 $(which npm) run build
CMD ["npm", "run", "start"]