Files
cloud-1/files/inception/srcs/wordpress/Dockerfile
2026-04-02 12:04:23 +02:00

15 lines
528 B
Docker

FROM debian:bullseye
RUN apt update -y && apt upgrade -y
RUN apt install curl wget php-cli php-mysql php-curl php-gd php-intl php-fpm -y
RUN wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
&& mv wp-cli.phar /usr/bin/wp \
&& chmod +x /usr/bin/wp
RUN mkdir -p /var/www/wordpress
ADD ./conf/wordpress.conf /wordpress.conf
ADD ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 9000
ENTRYPOINT /entrypoint.sh