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

21
README.md Normal file
View File

@@ -0,0 +1,21 @@
# web-demo
A docker container and Cloudron app definition example.
## To run locally
```
docker build -t web-demo .
docker run -p 3000:80 web-demo
```
## To build multi-arch image for deployment
```
docker buildx build --platform linux/amd64,linux/arm64 -t container-registry.cosocial.info/web-demo -t container-registry.cosocial.info/web-demo:<version> --push .
```
### if it doesn't actually push, run this to push "for real"
```
docker push container-registry.cosocial.info/web-demo
docker push container-registry.cosocial.info/web-demo:<version>
```