#!/bin/bash # _startup.sh - runs as root # Install Python dependencies if requirements.txt exists and is non-empty REQUIREMENTS=/app/server/requirements.txt if [ -s "$REQUIREMENTS" ]; then pip install --break-system-packages -r "$REQUIREMENTS" fi # Hand off to startup.sh as merlyn user exec runuser -u merlyn -- /bin/bash /app/docker/startup.sh