https://github.com/developit/docker-staticapp
A Dockerized static app server using Node.JS and Express. Exposes environment variables prefixed with "PUB_" to your static app at /__/env.js and /__/env.json
https://github.com/developit/docker-staticapp
Last synced: 3 months ago
JSON representation
A Dockerized static app server using Node.JS and Express. Exposes environment variables prefixed with "PUB_" to your static app at /__/env.js and /__/env.json
- Host: GitHub
- URL: https://github.com/developit/docker-staticapp
- Owner: developit
- License: mit
- Created: 2014-06-23T20:33:18.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T14:48:57.000Z (over 8 years ago)
- Last Synced: 2025-09-12T00:45:32.483Z (4 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
docker-staticapp
================
A docker container for hosting a static website using Node.JS + express, with a nifty environment variable proxy.
- Build/run this container to host files from `/src/staticapp/public` (map it as a volume if you want)
- Listens on the port specified as a `PORT` env var (`process.env.PORT`, the default is `8080`).