Skip to content

Commit 525ead5

Browse files
committed
more symlink fixing
1 parent 79c81a1 commit 525ead5

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN \
4141
tar xf \
4242
/tmp/bookstack.tar.gz -C \
4343
/var/www/html/ --strip-components=1 && \
44-
cp /var/www/html/.env.example /var/www/html/.env && \
44+
cp /var/www/html/.env.example /defaults/.env && \
4545
echo "**** install composer ****" && \
4646
cd /tmp && \
4747
curl -sS https://getcomposer.org/installer | php && \

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN \
4444
tar xf \
4545
/tmp/bookstack.tar.gz -C \
4646
/var/www/html/ --strip-components=1 && \
47-
cp /var/www/html/.env.example /var/www/html/.env && \
47+
cp /var/www/html/.env.example /defaults/.env && \
4848
echo "**** install composer ****" && \
4949
cd /tmp && \
5050
curl -sS https://getcomposer.org/installer | php && \

Dockerfile.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN \
4444
tar xf \
4545
/tmp/bookstack.tar.gz -C \
4646
/var/www/html/ --strip-components=1 && \
47-
cp /var/www/html/.env.example /var/www/html/.env && \
47+
cp /var/www/html/.env.example /defaults/.env && \
4848
echo "**** install composer ****" && \
4949
cd /tmp && \
5050
curl -sS https://getcomposer.org/installer | php && \

root/etc/cont-init.d/50-config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ mkdir -p \
1010
ln -sf /config/storage /var/www/html/storage
1111
[[ ! -L /var/www/html/public/uploads ]] && \
1212
ln -sf /config/uploads /var/www/html/public/uploads
13+
[[ ! -e /config/.env ]] && \
14+
cp /defaults/.env /config/.env
1315
[[ ! -L /var/www/html/.env ]] && \
1416
ln -sf /config/.env /var/www/html/.env
1517

0 commit comments

Comments
 (0)