Altri piccoli cambiamenti al Dockerfile, annessi e connessi
This commit is contained in:
parent
618461f36e
commit
ab66a20508
5 changed files with 10 additions and 10 deletions
|
@ -1,13 +1,13 @@
|
|||
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.sh /usr/local/bin/binit.sh
|
||||
COPY files/update.sh /root/update.sh
|
||||
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
|
||||
COPY files/httpd.conf /etc/apache2/
|
||||
COPY files/php.ini /etc/php7/
|
||||
COPY files/msmtprc /etc/php7/
|
||||
COPY files/binit.sh /usr/local/bin/
|
||||
COPY files/update.sh /root/
|
||||
COPY files/mastostart_popolato.sql.xz /root/
|
||||
COPY files/create_user.sql /root/
|
||||
COPY files/install.sh /root/
|
||||
RUN /root/install.sh
|
||||
CMD /usr/local/bin/binit.sh
|
||||
|
|
|
@ -8,7 +8,7 @@ mysqld_safe &
|
|||
|
||||
sleep 5
|
||||
|
||||
gzip -d mastostart_popolato.sql.gz
|
||||
xz -d mastostart_popolato.sql.xz
|
||||
|
||||
mysql -e 'source mastostart_popolato.sql'
|
||||
|
||||
|
|
Binary file not shown.
BIN
docker/files/mastostart_popolato.sql.xz
Normal file
BIN
docker/files/mastostart_popolato.sql.xz
Normal file
Binary file not shown.
|
@ -398,7 +398,7 @@ max_input_time = 60
|
|||
|
||||
; Maximum amount of memory a script may consume (128MB)
|
||||
; http://php.net/memory-limit
|
||||
memory_limit = 8G
|
||||
memory_limit = 2G
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Error handling and logging ;
|
||||
|
|
Loading…
Reference in a new issue