init: wordpress

This commit is contained in:
2023-10-05 10:23:50 -04:00
parent d012f6db49
commit 36cd412775
2 changed files with 26 additions and 0 deletions

15
srcs/wordpress/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM alpine:3.17
RUN apk update
RUN apk add mysql-client php php-fpm php-mysqli
RUN mkdir -p /var/www/
WORKDIR /var/www/
RUN wget https://wordpress.org/latest.tar.gz
RUN tar -xzf latest.tar.gz
RUN rm latest.tar.gz
RUN sed -i "s/^listen.*/listen = 9000/" /etc/php81/php-fpm.d/www.conf
ENTRYPOINT ["php-fpm81", "-F"]