Illustrating how to wrap a single page application in docker.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Build-included-Dockerfile
Dockerfile
Naive-Dockerfile
index.html
nginx.config
package-lock.json
package.json
readme.md

readme.md

A simple, dockerized SPA

live demo

This repository illustrates how to dockerize an SPA.

It accompanies the blogpost Dockerizing SPAs.

To see it in action locally:

docker build -f Dockerfile -t docker-spa .
docker run -p 8888:80 docker-spa
docker rmi -f docker-spa

An open localhost