Update docker-compose.yml

This commit is contained in:
2026-01-16 21:50:10 +00:00
parent a3b8b696eb
commit e73f1a65bf

View File

@@ -16,9 +16,11 @@ services:
- -c
- |
apk add --no-cache git
echo "Cloning repository..."
echo "Cleaning up..."
rm -rf /tmp/repo
rm -rf /app/* /app/.[!.]* 2>/dev/null || true
rm -rf /db-init/* 2>/dev/null || true
echo "Cloning repository..."
git clone --depth 1 --branch $$GIT_BRANCH $$GIT_REPO /tmp/repo
cp -r /tmp/repo/webapp/* /app/
cp /tmp/repo/database/schema.sql /db-init/01-schema.sql