mirror of
				https://github.com/casjaysdevdocker/cherokee
				synced 2025-11-03 19:02:27 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
This commit is contained in:
		
							
								
								
									
										15
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								Dockerfile
									
									
									
									
									
								
							@@ -38,7 +38,15 @@ RUN git clone https://github.com/cherokee/webserver.git . && \
 | 
			
		||||
  libtool && \
 | 
			
		||||
  rm -Rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/src/*
 | 
			
		||||
 | 
			
		||||
FROM casjaysdevdocker/php:latest
 | 
			
		||||
FROM casjaysdevdocker/php:latest AS source
 | 
			
		||||
COPY --from=build /usr/local/bin/. /usr/local/bin/
 | 
			
		||||
COPY --from=build /usr/local/lib/python2/. /usr/local/lib/python2/
 | 
			
		||||
COPY --from=build /usr/local/share/cherokee/. /usr/local/share/cherokee/
 | 
			
		||||
COPY ./bin/. /usr/local/bin/
 | 
			
		||||
COPY ./data/. /usr/local/share/template-files/data/
 | 
			
		||||
COPY ./config/. /usr/local/share/template-files/config/
 | 
			
		||||
 | 
			
		||||
FROM scratch
 | 
			
		||||
ARG BUILD_DATE="$(date +'%Y-%m-%d %H:%M')"
 | 
			
		||||
 | 
			
		||||
LABEL \
 | 
			
		||||
@@ -55,10 +63,7 @@ LABEL \
 | 
			
		||||
  org.label-schema.vendor="CasjaysDev" \
 | 
			
		||||
  maintainer="CasjaysDev <docker-admin@casjaysdev.com>"
 | 
			
		||||
 | 
			
		||||
COPY --from=build /usr/local/share/cherokee/. /usr/local/share/cherokee/
 | 
			
		||||
COPY ./bin/. /usr/local/bin/
 | 
			
		||||
COPY ./data/. /usr/local/share/template-files/data/
 | 
			
		||||
COPY ./config/. /usr/local/share/template-files/config/
 | 
			
		||||
COPY --from=source /. /
 | 
			
		||||
 | 
			
		||||
ENV PHP_SERVER=cherokee
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user