mirror of
https://github.com/linuxserver/docker-bookstack.git
synced 2026-02-20 02:30:30 +08:00
more symlink fixing
This commit is contained in:
parent
79c81a1507
commit
525ead5cbb
@ -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 && \
|
||||
|
||||
@ -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 && \
|
||||
|
||||
@ -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 && \
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user