mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-11 00:07:30 -05:00
Increase memory to avoid running out while building
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user