NGINX image to serve Single Page Applications.
50K+
A simple nginx container that serves Single Page Applications:
index.html filegzip in stylesheets and javascript files.Very small size: ~7 MB (alpine based). Uses about 2 MB RAM when running.
Dockerfile:
FROM iamfreee/docker-nginx-static-spa:latest
COPY /dist /var/www/html
In the example above, the production build of the app is in the local dist folder and is moved to the default nginx serve path to be served.
MIT
Content type
Image
Digest
Size
6.4 MB
Last updated
almost 9 years ago
docker pull iamfreee/docker-nginx-static-spa