Spaces:
Runtime error
Runtime error
atikur-rabbi
commited on
Commit
•
6c48481
1
Parent(s):
e6e895b
up
Browse files- Dockerfile +1 -1
- app.js +1 -1
Dockerfile
CHANGED
@@ -23,5 +23,5 @@ RUN npm install
|
|
23 |
# Bundle app source
|
24 |
COPY . .
|
25 |
|
26 |
-
EXPOSE
|
27 |
CMD [ "node", "app.js" ]
|
|
|
23 |
# Bundle app source
|
24 |
COPY . .
|
25 |
|
26 |
+
EXPOSE 3000
|
27 |
CMD [ "node", "app.js" ]
|
app.js
CHANGED
@@ -5,7 +5,7 @@ var router = express.Router();
|
|
5 |
var path = __dirname + '/views/';
|
6 |
|
7 |
// Constants
|
8 |
-
const PORT =
|
9 |
const HOST = '0.0.0.0';
|
10 |
|
11 |
router.use(function (req,res,next) {
|
|
|
5 |
var path = __dirname + '/views/';
|
6 |
|
7 |
// Constants
|
8 |
+
const PORT = 3000;
|
9 |
const HOST = '0.0.0.0';
|
10 |
|
11 |
router.use(function (req,res,next) {
|