Skip to content

Commit 10a51ef

Browse files
committed
change port
1 parent bd162af commit 10a51ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

devfiles/devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
projectType: container
55
language: container
66
attributes:
7-
alpha.dockerimage-port: 8080
7+
alpha.dockerimage-port: 8081
88
version: 1.0.0
99
provider: Red Hat
1010
components:

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN npm install --only=production
1717
COPY . .
1818

1919
# Configure and document the service HTTP port.
20-
ENV PORT 8080
20+
ENV PORT 8081
2121
EXPOSE $PORT
2222

2323
# Run the web service on container startup.

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const http = require('http');
22
const Users = require('./users');
33

44
const host = process.env.HOST || '127.0.0.1'
5-
const port = process.env.PORT || 8080
5+
const port = process.env.PORT || 8081
66

77
function handleGetReq(req, res) {
88
if (req.url !== '/users') {

0 commit comments

Comments
 (0)