more symlink fixing

This commit is contained in:
Homer 2018-09-28 12:07:44 +01:00
parent 79c81a1507
commit 525ead5cbb
4 changed files with 5 additions and 3 deletions

View File

@ -41,7 +41,7 @@ RUN \
tar xf \
/tmp/bookstack.tar.gz -C \
/var/www/html/ --strip-components=1 && \
cp /var/www/html/.env.example /var/www/html/.env && \
cp /var/www/html/.env.example /defaults/.env && \
echo "**** install composer ****" && \
cd /tmp && \
curl -sS https://getcomposer.org/installer | php && \

View File

@ -44,7 +44,7 @@ RUN \
tar xf \
/tmp/bookstack.tar.gz -C \
/var/www/html/ --strip-components=1 && \
cp /var/www/html/.env.example /var/www/html/.env && \
cp /var/www/html/.env.example /defaults/.env && \
echo "**** install composer ****" && \
cd /tmp && \
curl -sS https://getcomposer.org/installer | php && \

View File

@ -44,7 +44,7 @@ RUN \
tar xf \
/tmp/bookstack.tar.gz -C \
/var/www/html/ --strip-components=1 && \
cp /var/www/html/.env.example /var/www/html/.env && \
cp /var/www/html/.env.example /defaults/.env && \
echo "**** install composer ****" && \
cd /tmp && \
curl -sS https://getcomposer.org/installer | php && \

View File

@ -10,6 +10,8 @@ mkdir -p \
ln -sf /config/storage /var/www/html/storage
[[ ! -L /var/www/html/public/uploads ]] && \
ln -sf /config/uploads /var/www/html/public/uploads
[[ ! -e /config/.env ]] && \
cp /defaults/.env /config/.env
[[ ! -L /var/www/html/.env ]] && \
ln -sf /config/.env /var/www/html/.env