13 lines
435 B
Docker
13 lines
435 B
Docker
FROM reg.zknt.org/zknt/alpine:3.16
|
|
|
|
COPY dumb-init_1.2.5_x86_64 /usr/local/sbin/dumb-init
|
|
RUN apk add --no-cache apache2-proxy php8-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/php8/php-fpm.d/zzzuser.conf
|
|
EXPOSE 80
|
|
ENTRYPOINT php-fpm8; /usr/local/sbin/dumb-init httpd -DFOREGROUND
|