inception/srcs/requirements/wordpress/Dockerfile
Danny Houtworm 2bce8efb23 bla
2023-08-14 01:00:42 +00:00

27 lines
702 B
Docker

FROM alpine
ARG WORDPRESSDATABASE=${WORDPRESSDATABASE}
ARG WORDPRESSDATABASEUSER=${WORDPRESSDATABASEUSER}
ARG WORDPRESSDATABASEPASSWD=${WORDPRESSDATABASEPASSWD}
ARG WPADMINUSER=${WPADMINUSER}
ARG WPADMINPASSWD=$(WPADMINPASSWD)
ARG WPADMINEMAIL=$(WPADMINEMAIL)
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