An open API service indexing awesome lists of open source software.

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

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`).