Closed danielfdickinson closed 7 years ago
The default configuration files are already in the image.
$ docker run --rm -t -v /var/sandbox/lighttpd-docker/www:/var/www/localhost/htdocs -p 80:80 sebp/lighttpd
$ docker exec -it sleepy_franklin bash
/ # ls /etc/lighttpd/
lighttpd.conf mod_cgi.conf mod_fastcgi_fpm.conf
mime-types.conf mod_fastcgi.conf
Or am I missing something?
The objective is automatically copy the repos copy of the config files so that that someone wants to build a Docker image based on this repo, but with their own config, they don't have to go hunting for files and adding the copy command.
OK got it thanks.
Embed configuration from etc/lighttpd in this repo into the image. This is useful for private images where one wishes to include the configuration in the image instead of an external volume.