I’m tring to build a image based on httpd:2.4 with my own httpd.conf(my-httpd.conf), on offical document, it gives below steps, but re-build image is needed if my-httpd.conf is updated.
Dockerfile
FROM httpd:2.4
COPY ./my-httpd.conf /usr/local/apache2/conf/httpd.conf
My target is to re-run the image if my-httpd.conf is changed. I tried add volume when running the iamge, but failed to start the container.