Update
This commit is contained in:
parent
9977177bf8
commit
397626e98b
@ -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"]
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user