feat: add app files
This commit is contained in:
15
files/inception/srcs/wordpress/Dockerfile
Normal file
15
files/inception/srcs/wordpress/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user