f4775366ef
Replace Dokploy runtime git clone with Dockerfile build to keep tokens out of the container, add nginx security headers and path whitelist, and scrub templates from the running image after HTML generation. Co-authored-by: Cursor <cursoragent@cursor.com>
5 lines
182 B
Bash
Executable File
5 lines
182 B
Bash
Executable File
#!/bin/sh
|
|
TEMPLATE_DIR=/opt/slavic-pulse /opt/slavic-pulse/generate-from-env.sh /usr/share/nginx/html
|
|
rm -rf /opt/slavic-pulse
|
|
unset GITEA_REPO_URL FRONTEND_PORT 2>/dev/null || true
|