We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0806352 commit f0d53f1Copy full SHA for f0d53f1
README.md
@@ -1,2 +1,4 @@
1
# simple-nodejs-app
2
A simple nodejs application to tests Red Hat AppStudio nodejs builds
3
+
4
+This example have only one endpoint: `/users` which respond with a list.
devfiles/devfile.yaml
@@ -4,7 +4,7 @@ metadata:
projectType: container
5
language: container
6
attributes:
7
- alpha.dockerimage-port: 8081
+ alpha.dockerimage-port: 8080
8
version: 1.0.0
9
provider: Red Hat
10
components:
docker/Dockerfile
@@ -17,7 +17,7 @@ RUN npm install --only=production
17
COPY . .
18
19
# Configure and document the service HTTP port.
20
-ENV PORT 8081
+ENV PORT 8080
21
EXPOSE $PORT
22
23
# Run the web service on container startup.
0 commit comments