mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 01:12:55 +00:00 
			
		
		
		
	Make /etc/supervisor a writable volume
This commit is contained in:
		@@ -73,7 +73,7 @@ ONBUILD COPY ${BUILD_CONTEXT}/supervisor/ ${TFW_SUPERVISORD_COMPONENTS}
 | 
			
		||||
ONBUILD RUN for f in "${TFW_NGINX_DEFAULT}" ${TFW_NGINX_COMPONENTS}/*.conf; do                               \
 | 
			
		||||
                envsubst "$(printenv | cut -d= -f1 | grep TFW_ | sed -e 's/^/$/g')" < $f > $f~ && mv $f~ $f ;\
 | 
			
		||||
            done
 | 
			
		||||
ONBUILD VOLUME ["/etc/nginx", "/var/lib/nginx", "/var/log/nginx", "${TFW_LIB_DIR}/tfw"]
 | 
			
		||||
ONBUILD VOLUME ["/etc/nginx", "/etc/supervisor", "/var/lib/nginx", "/var/log/nginx", "${TFW_LIB_DIR}/tfw"]
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/bin/init", "--"]
 | 
			
		||||
CMD exec supervisord --nodaemon --configuration ${TFW_SUPERVISORD_CONF}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user