Compare commits

..

1 Commits

Author SHA1 Message Date
cd1ea8b54c
ADD: divided application and configuration directory 2021-06-05 13:15:19 +02:00
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
FROM php:7-apache-buster
WORKDIR /var/www/html
WORKDIR /home/
RUN sed -i 's/deb.debian.org/ftp.de.debian.org/g' /etc/apt/sources.list
RUN apt-get -q -y update && apt-get -q -y upgrade
RUN apt-get -q -y install default-libmysqlclient-dev wget mariadb-server
@ -25,6 +25,7 @@ VOLUME ["/var/lib/mysql"]
VOLUME ["/home/wikindx"]
RUN mkdir -p /home/wikindx
WORKDIR /var/www/html
RUN wget -O wikindx.tar.bz2 https://phoenixnap.dl.sourceforge.net/project/wikindx/6.4.9/wikindx_6.4.9.tar.bz2
RUN tar jxf wikindx.tar.bz2

View File

@ -7,6 +7,7 @@ if [ ! -d /var/lib/mysql/wikindx6 ] ; then
mysql -u root < create.sql
fi
ls /home/wikindx/
# for updating from old docker container
if [ -e /home/wikindx/index.php ]; then