inception/srcs/requirements/wordpress/Dockerfile
Danny Houtworm 72b12d749d bla
2023-08-14 08:41:31 +00:00

21 lines
461 B
Docker

FROM alpine:3.18.3
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