This commit is contained in:
Max 2024-02-20 11:52:12 +00:00
parent 9977177bf8
commit 397626e98b
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM node:latest FROM node:16.15.1-buster-slim
WORKDIR /app WORKDIR /app
@ -10,6 +10,6 @@ COPY . .
RUN npm install RUN npm install
RUN npm install pm2 -g RUN npm install pm2 -g
EXPOSE 5000 EXPOSE 5001
CMD ["pm2-runtime", "server.js"] CMD ["pm2-runtime", "server.js"]

View File

@ -755,7 +755,7 @@ app.post('*', function(request, responce){
responce.status(404).send({success:false, error:"404"}) responce.status(404).send({success:false, error:"404"})
}) })
var port = 5000 var port = 5001
app.listen(port, function() { app.listen(port, function() {
console.log('Server running on port ' + port) console.log('Server running on port ' + port)