initial add of basic nodejs app, Dockerfile and CloudronManifest.json

This commit is contained in:
John Caruso
2026-01-24 14:03:10 -05:00
commit b2a1f90af2
8 changed files with 906 additions and 0 deletions

12
index.js Normal file
View File

@@ -0,0 +1,12 @@
const express = require('express')
const app = express()
const port = process.env.port ?? 80
app.get('/', (req, res) => {
res.send('Hello World! This is a custom nodejs app running in a docker container as a cloudron app')
})
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})