mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2025-01-18 06:34:33 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
428e2fbb5f
commit
3d55fb1032
15
Dockerfile
15
Dockerfile
@ -38,7 +38,15 @@ RUN git clone https://github.com/cherokee/webserver.git . && \
|
|||||||
libtool && \
|
libtool && \
|
||||||
rm -Rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/src/*
|
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')"
|
ARG BUILD_DATE="$(date +'%Y-%m-%d %H:%M')"
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
@ -55,10 +63,7 @@ LABEL \
|
|||||||
org.label-schema.vendor="CasjaysDev" \
|
org.label-schema.vendor="CasjaysDev" \
|
||||||
maintainer="CasjaysDev <docker-admin@casjaysdev.com>"
|
maintainer="CasjaysDev <docker-admin@casjaysdev.com>"
|
||||||
|
|
||||||
COPY --from=build /usr/local/share/cherokee/. /usr/local/share/cherokee/
|
COPY --from=source /. /
|
||||||
COPY ./bin/. /usr/local/bin/
|
|
||||||
COPY ./data/. /usr/local/share/template-files/data/
|
|
||||||
COPY ./config/. /usr/local/share/template-files/config/
|
|
||||||
|
|
||||||
ENV PHP_SERVER=cherokee
|
ENV PHP_SERVER=cherokee
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user