fix entrypoint.sh stage-2

This commit is contained in:
Антон
2026-02-07 14:37:57 +03:00
parent 0961daedce
commit 195d40daa2

View File

@@ -21,13 +21,14 @@ mkdir -p /run/openrc
touch /run/openrc/softlevel touch /run/openrc/softlevel
# Initialize Easy-RSA if not already present in /app/easy-rsa # Initialize Easy-RSA if not already present in /app/easy-rsa
if [ ! -d /app/easy-rsa ]; then if [ ! -f /app/easy-rsa/easyrsa ]; then
echo "[INIT] Initializing Easy-RSA workspace..." echo "[INIT] Initializing Easy-RSA workspace..."
mkdir -p /app/easy-rsa mkdir -p /app/easy-rsa
# Alpine installs easy-rsa files to /usr/share/easy-rsa # Alpine installs easy-rsa files to /usr/share/easy-rsa
cp -r /usr/share/easy-rsa/* /app/easy-rsa/ cp -r /usr/share/easy-rsa/* /app/easy-rsa/
fi fi
# Start the APP_PROFILER API # Start the APP_PROFILER API