inception/srcs/requirements/wordpress/Dockerfile

27 lines
702 B
Docker
Raw Normal View History

2023-06-25 05:25:27 +02:00
FROM alpine
2023-08-14 03:00:42 +02:00
ARG WORDPRESSDATABASE=${WORDPRESSDATABASE}
ARG WORDPRESSDATABASEUSER=${WORDPRESSDATABASEUSER}
ARG WORDPRESSDATABASEPASSWD=${WORDPRESSDATABASEPASSWD}
ARG WPADMINUSER=${WPADMINUSER}
ARG WPADMINPASSWD=$(WPADMINPASSWD)
ARG WPADMINEMAIL=$(WPADMINEMAIL)
2023-06-25 05:25:27 +02:00
RUN sleep 10
RUN apk update
RUN apk add openssl
2023-06-25 09:05:00 +02:00
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
2023-08-14 03:00:42 +02:00
RUN apk add php-phar
COPY srcs/start.sh /root/start.sh
2023-08-09 22:52:57 +02:00
COPY srcs/www.conf /etc/php81/php-fpm.d/www.conf
2023-06-25 05:25:27 +02:00
COPY srcs/wordpress.conf /var/www/wordpress/wp-config.php
WORKDIR /root/
2023-08-14 03:00:42 +02:00
CMD sh start.sh
2023-08-09 22:52:57 +02:00
EXPOSE 9000/tcp