A simple alpine linux + nginx container using envsubst to replace Environment
Variables on start.
🧷 Please consider digest pinning when
utilising a third-party Docker image, the Container Registry page for
sparse-docker-nginx provides a full list of tags and
their respective digests.
FROM ghcr.io/pr-mpt/sparse-docker-nginx
COPY index.html ./You may provide a custom nginx configuration by writing your configuration to
default.conf, e.g:
FROM ghcr.io/pr-mpt/sparse-docker-nginx
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY index.html ./