MastodonHelp/docker/Dockerfile
2020-05-11 23:32:01 +02:00

13 lines
606 B
Docker

FROM alpine:3
RUN apk add --no-cache apache2 php7 php7-apache2 php7-mysqli php7-mbstring php7-pcntl php7-intl php7-json php7-session mariadb mariadb-client git rsync msmtp
COPY files/my.cnf /etc/my.cnf
COPY files/httpd.conf /etc/apache2/httpd.conf
COPY files/php.ini /etc/php7/php.ini
COPY files/msmtprc /etc/php7/msmtprc
COPY files/binit /usr/local/bin/binit
COPY files/update.bash /root/update.bash
COPY files/mastostart_popolato.sql.gz /root/mastostart_popolato.sql.gz
COPY files/create_user.sql /root/create_user.sql
COPY files/install.sh /root/install.sh
RUN /root/install.sh
CMD /usr/local/bin/binit