The repository contains a Dockerfile to build a vanilla nginx with additional modules. The GitHub action pushes the image to Docker Hub on new nginx version. The image can be used in environments where additional modules are required, such as with Authelia.
Currently only contains the following modules:
Official nginx documentation can be used on information on how to start the container. Making changes to nginx configuration, requires starting the container first without volumes. Then you need to copy created configuration to some directory on the docker host. After that You can map copied configuration on the host to config directory on nginx container:
$ docker run --name tmp-nginx-container -d pruh/nginx-with-modules
$ docker cp tmp-nginx-container:/etc/nginx/ /host/path/
$ docker rm -f tmp-nginx-container
docker pull pruh/nginx-with-modules:latest