feat: add playwright usage docs
This commit is contained in:
@@ -139,6 +139,7 @@ COPY --from=frontend-builder /app/web/dist /www/baihu
|
||||
|
||||
# Copy configs and entrypoint
|
||||
COPY --from=backend-builder /app/configs ./configs
|
||||
COPY --from=backend-builder /app/example ./example
|
||||
COPY docker/docker-entrypoint.sh .
|
||||
|
||||
|
||||
|
||||
@@ -125,6 +125,7 @@ COPY --from=frontend-builder /app/web/dist /www/baihu
|
||||
|
||||
# Copy configs and entrypoint
|
||||
COPY --from=backend-builder /app/configs ./configs
|
||||
COPY --from=backend-builder /app/example ./example
|
||||
COPY docker/docker-entrypoint.minimal.sh ./docker-entrypoint.sh
|
||||
|
||||
# Copy agent binaries
|
||||
|
||||
@@ -24,6 +24,14 @@ mkdir -p \
|
||||
/app/configs \
|
||||
/app/envs
|
||||
|
||||
if [ -d "/app/example" ]; then
|
||||
mkdir -p /app/data/scripts/example
|
||||
rsync -a --ignore-existing /app/example/ /app/data/scripts/example/ || true
|
||||
log "Example scripts synced to /app/data/scripts/example"
|
||||
else
|
||||
log "No example directory found, skipping example sync"
|
||||
fi
|
||||
|
||||
# ============================
|
||||
# Mise 环境初始化
|
||||
# ============================
|
||||
|
||||
@@ -24,6 +24,14 @@ mkdir -p \
|
||||
/app/configs \
|
||||
/app/envs
|
||||
|
||||
if [ -d "/app/example" ]; then
|
||||
mkdir -p /app/data/scripts/example
|
||||
rsync -a --ignore-existing /app/example/ /app/data/scripts/example/ || true
|
||||
log "Example scripts synced to /app/data/scripts/example"
|
||||
else
|
||||
log "No example directory found, skipping example sync"
|
||||
fi
|
||||
|
||||
# ============================
|
||||
# Mise 环境初始化
|
||||
# ============================
|
||||
@@ -83,4 +91,4 @@ ln -sf /app/baihu /usr/local/bin/baihu
|
||||
printf "\n\033[1;32m>>> Environment setup complete. Starting Baihu Server...\033[0m\n\n"
|
||||
|
||||
cd /app
|
||||
exec ./baihu server
|
||||
exec ./baihu server
|
||||
|
||||
Reference in New Issue
Block a user