Loading containers/server/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ COPY . /dist RUN npm install pm2 -g CMD pm2-runtime /dist/server \ --max-memory-restart 1G \ --max-memory-restart 300M \ --instances 2 VOLUME ["/dist"] No newline at end of file server.ts +2 −0 Original line number Diff line number Diff line Loading @@ -205,3 +205,5 @@ app.get('*', cache(), (req, res) => { app.listen(PORT, () => { console.log(`Node server listening on http://localhost:${PORT}`); }); app.keepAliveTimeout = 65000; Loading
containers/server/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ COPY . /dist RUN npm install pm2 -g CMD pm2-runtime /dist/server \ --max-memory-restart 1G \ --max-memory-restart 300M \ --instances 2 VOLUME ["/dist"] No newline at end of file
server.ts +2 −0 Original line number Diff line number Diff line Loading @@ -205,3 +205,5 @@ app.get('*', cache(), (req, res) => { app.listen(PORT, () => { console.log(`Node server listening on http://localhost:${PORT}`); }); app.keepAliveTimeout = 65000;