go mario db
This commit is contained in:
@@ -1,19 +1,14 @@
|
||||
FROM debian:bullseye
|
||||
RUN apt-get update -y
|
||||
RUN apt-get upgrade -y
|
||||
RUN apt-get install wget -y
|
||||
RUN apt-get install php7.3 -y
|
||||
RUN apt-get install php-fpm -y
|
||||
RUN apt-get install php-mysql -y
|
||||
RUN apt-get install mariadb-client -y
|
||||
RUN wget https://fr.wordpress.org/wordpress-6.0-fr_FR.tar.gz -P /var/www
|
||||
RUN cd /var/www && tar -xzf wordpress-6.0-fr_FR.tar.gz && rm wordpress-6.0-fr_FR.tar.gz
|
||||
RUN chown -R root:root /var/www/wordpress
|
||||
COPY ./conf/www.conf /etc/php/7.3/fpm/pool.d/www.conf
|
||||
RUN wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
||||
RUN chmod +x wp-cli.phar
|
||||
RUN mv wp-cli.phar /usr/local/bin/wp
|
||||
COPY ./conf/auto_config.sh /auto_config.sh
|
||||
RUN chmod +x /auto_config.sh
|
||||
RUN mkdir -p /run/php
|
||||
ENTRYPOINT ["sh", "/auto_config.sh"]
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt update && \
|
||||
apt-get install -y php-fpm php-mysql curl && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY ./tools/run.sh /run.sh
|
||||
|
||||
RUN chmod +x /run.sh
|
||||
|
||||
ENTRYPOINT [ "/run.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user