change port from 3000 to 4000
This commit is contained in:
+1
-1
@@ -12,5 +12,5 @@ RUN npm install -g nodemon
|
|||||||
# Bundle app source
|
# Bundle app source
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN mkdir -p /usr/src/app/db
|
RUN mkdir -p /usr/src/app/db
|
||||||
EXPOSE 3000
|
EXPOSE 4000
|
||||||
CMD [ "node", "app.js" ]
|
CMD [ "node", "app.js" ]
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ const gameRoutes = gameModule.router;
|
|||||||
const serverRoutes = require('./routes/server');
|
const serverRoutes = require('./routes/server');
|
||||||
const authRoutes = require('./routes/auth');
|
const authRoutes = require('./routes/auth');
|
||||||
|
|
||||||
const port = 3000;
|
const port = 4000;
|
||||||
|
|
||||||
// Serve static files from the 'public' directory
|
// Serve static files from the 'public' directory
|
||||||
app.use(express.static('public'));
|
app.use(express.static('public'));
|
||||||
|
|||||||
Reference in New Issue
Block a user