Extremely minimalistic and lightweight web server for static content
64
An extremely minimalistic and lightweight static web server, meant to be used in multi-stage Docker builds.
# stage 0
FROM node:latest as builder-node
# build here your frontend source
# stage 1
FROM garsaud/static-server:1.0
COPY --from=builder-node \
/dist \
/www
docker build -t my-application .
docker run --rm -it -p 80:80 my-application
Content type
Image
Digest
Size
2.1 MB
Last updated
almost 7 years ago
docker pull garsaud/static-server:1.0-fallback-to-index