Skip to content

Commit ce49753

Browse files
change port from 3080 to 80
1 parent 042c5b9 commit ce49753

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ COPY package*.json ./
1010
RUN npm install
1111
COPY server.js .
1212

13-
EXPOSE 3080
13+
EXPOSE 80
1414

1515
CMD ["node", "server.js"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"scripts": {
77
"build": "webpack",
8-
"dev": "nodemon ./server.js localhost 3080",
8+
"dev": "nodemon ./server.js localhost 80",
99
"test": "echo \"Error: no test specified\" && exit 1",
1010
"start": "node server.js"
1111
},

server.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const express = require('express');
22
const app = express(),
33
bodyParser = require("body-parser");
4-
port = 3080;
4+
port = 80;
55

66
const users = [];
77

0 commit comments

Comments
 (0)