21 lines
454 B
Docker
21 lines
454 B
Docker
FROM alpine
|
|
RUN sleep 10
|
|
RUN apk update
|
|
RUN apk add openssl
|
|
RUN apk add php
|
|
RUN apk add php-fpm
|
|
RUN apk add php-mysqli
|
|
RUN apk add php-gd
|
|
RUN apk add php-mbstring
|
|
RUN apk add php-curl
|
|
RUN apk add php-json
|
|
RUN apk add php-xml
|
|
RUN apk add php-zip
|
|
RUN apk add php-phar
|
|
COPY srcs/start.sh /root/start.sh
|
|
COPY srcs/www.conf /etc/php81/php-fpm.d/www.conf
|
|
COPY srcs/wordpress.conf /var/www/wordpress/wp-config.php
|
|
WORKDIR /root/
|
|
CMD sh start.sh
|
|
EXPOSE 9000/tcp
|