PAWN / deploy /entrypoint.sh
thomas-schweich's picture
Add Docker BYOC deployment, discard-ply-limit ablation, dashboard, and deploy tooling
a188746
#!/bin/bash
set -e
# Runpod injects the SSH public key via this env var
if [ -n "$PUBLIC_KEY" ]; then
echo "$PUBLIC_KEY" > /root/.ssh/authorized_keys
chmod 600 /root/.ssh/authorized_keys
fi
service ssh start
exec "$@"