Compare commits

..

1 Commits

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

View File

@ -1,5 +1,5 @@
FROM php:7-apache-buster FROM php:7-apache-buster
WORKDIR /home/ WORKDIR /var/www/html
RUN sed -i 's/deb.debian.org/ftp.de.debian.org/g' /etc/apt/sources.list 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 update && apt-get -q -y upgrade
RUN apt-get -q -y install default-libmysqlclient-dev wget mariadb-server RUN apt-get -q -y install default-libmysqlclient-dev wget mariadb-server
@ -25,7 +25,6 @@ VOLUME ["/var/lib/mysql"]
VOLUME ["/home/wikindx"] VOLUME ["/home/wikindx"]
RUN mkdir -p /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 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 RUN tar jxf wikindx.tar.bz2

View File

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