fix missing pki path inside container

This commit is contained in:
Антон
2026-02-07 14:16:49 +03:00
parent 6131bcaba9
commit 9d10bb97c7
3 changed files with 14 additions and 1 deletions

View File

@@ -20,7 +20,16 @@ iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
mkdir -p /run/openrc
touch /run/openrc/softlevel
# Initialize Easy-RSA if not already present in /app/easy-rsa
if [ ! -d /app/easy-rsa ]; then
echo "[INIT] Initializing Easy-RSA workspace..."
mkdir -p /app/easy-rsa
# Alpine installs easy-rsa files to /usr/share/easy-rsa
ln -s /usr/share/easy-rsa/* /app/easy-rsa/
fi
# Start the APP_PROFILER API
# We use 0.0.0.0 to be reachable from other containers
python main.py