Skip to content

Commit

Permalink
Change the default port to be 80
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Jan 1, 2021
1 parent a98ffd5 commit 6b5fbfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ COPY package*.json ./
RUN npm install --no-fund --no-update-notifier
COPY . .

EXPOSE 3000
EXPOSE 80

CMD [ "node", "index.js" ]
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const bodyParser = require('body-parser')
const superagent = require('superagent')


const port = (process.env.PORT || 3000)
const port = (process.env.PORT || 80)
const listenHost = (process.env.HOST || '0.0.0.0')
const registryHost = (process.env.REGISTRY || 'registry:4873')
const keyword = "node-red"
Expand Down

0 comments on commit 6b5fbfa

Please sign in to comment.