From 882fbea9d7efb68c6a7a6c3a939f2dcab107f718 Mon Sep 17 00:00:00 2001 From: Meher Lippmann Date: Mon, 13 Nov 2023 21:47:46 -0800 Subject: [PATCH] change port usage from 80 to 8080 --- Dockerfile | 2 +- app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 762ca31..06826f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ USER node COPY . . # Expose the port that the application listens on. -EXPOSE 80 +EXPOSE 8080 # Run the application. CMD node app.js diff --git a/app.js b/app.js index 5f137b5..c31e3f7 100644 --- a/app.js +++ b/app.js @@ -1,6 +1,6 @@ const express = require('express') const app = express() -const port = 80 +const port = 8080 const hostname='localhost' var jsonObj = {