We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec97a77 + 4836cde commit 25f2f08Copy full SHA for 25f2f08
app/Dockerfile
@@ -11,4 +11,5 @@ RUN npm install --production
11
12
COPY . .
13
14
+EXPOSE 8080
15
CMD [ "node", "server.js" ]
app/server.js
@@ -1,11 +1,11 @@
1
const express = require('express')
2
const app = express()
3
-const port = 3000
+const port = 8080
4
5
app.get('/', (req, res) => {
6
res.send('Hello World!')
7
})
8
9
app.listen(port, () => {
10
console.log(`Example app listening on port ${port}`)
-})
+})
0 commit comments