Update docker-compose.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user