An NGINX image for serving single page applications
163
A docker image for routing all requests to a single file.
docker run -d \
--name my-spa \
-v path/to/public:/var/www/static \
stephenafamo:spa-nginx:1.0.0
/var/www/static. You should mount your public directory here.index.html.index.html does not exist, gives a 404.Content type
Image
Digest
Size
48.3 MB
Last updated
about 7 years ago
docker pull stephenafamo/spa-nginx