Skip to content

Commit f7df494

Browse files
author
lacatoire
committed
fix(docker): Ensure /var/www/en symlink exists to resolve build failure
1 parent cf952d7 commit f7df494

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.docker/entrypoint.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ if [ -f "$MANUAL_PATH" ]; then
4343
rm -f "$MANUAL_PATH" || true
4444
fi
4545

46+
if [ -d "/var/www/doc-en" ]; then
47+
# Make sure that doc-en is mounted
48+
if [ ! -d "/var/www/en" ] && [ ! -L "/var/www/en" ]; then
49+
ln -s /var/www/doc-en /var/www/en
50+
echo "🩹 Created symlink for English: /var/www/en -> /var/www/doc-en"
51+
fi
52+
fi
53+
4654
echo "ℹ️ Generating .manual.xml for $LANGUAGE..."
4755
cd /var/www/doc-base
4856
php configure.php \

0 commit comments

Comments
 (0)