12 lines
437 B
Docker
12 lines
437 B
Docker
FROM reg.zknt.org/zknt/alpine:3.17
|
|
|
|
COPY dumb-init_1.2.5_x86_64 /usr/local/sbin/dumb-init
|
|
RUN apk add --no-cache apache2-proxy php81-fpm && \
|
|
mkdir -p /var/www/html && \
|
|
mkdir -p /usr/local/sbin && \
|
|
mkdir -p /run/apache2 &&\
|
|
chmod +x /usr/local/sbin/dumb-init
|
|
COPY httpd.conf /etc/apache2/httpd.conf
|
|
COPY zzzuser.conf /etc/php81/php-fpm.d/zzzuser.conf
|
|
EXPOSE 80
|
|
ENTRYPOINT php-fpm8; /usr/local/sbin/dumb-init httpd -DFOREGROUND
|