mirror of
https://github.com/FunnyWolf/agentic-soc-platform.git
synced 2026-08-22 13:12:56 +02:00
Ensure Docker Compose package scripts keep executable permissions and make the frontend certificate entrypoint executable in the image. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
15 lines
388 B
Bash
Executable File
15 lines
388 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
requirements="${CUSTOM_REQUIREMENTS_FILE:-/app/custom/requirements.txt}"
|
|
target="${CUSTOM_PYTHON_TARGET:-/opt/asp/custom-packages}"
|
|
|
|
mkdir -p "$target"
|
|
|
|
if [ ! -f "$requirements" ] || ! grep -qEv '^[[:space:]]*(#|$)' "$requirements"; then
|
|
echo "No custom requirements found at $requirements"
|
|
exit 0
|
|
fi
|
|
|
|
uv pip install --target "$target" -r "$requirements" "$@"
|