Initial commit — Aspekter VA email builder
Full project: Svelte 5 frontend, Vite 7 backend API, Pug email templates (email-gen), Docker deployment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
14
deploy/email-gen-api/entrypoint.sh
Normal file
14
deploy/email-gen-api/entrypoint.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
EMAIL_GEN_ROOT="${EMAIL_GEN_ROOT:-/workspace/email-gen}"
|
||||
|
||||
# Install deps inside container if needed (host node_modules may be incompatible)
|
||||
if [ -f "$EMAIL_GEN_ROOT/package.json" ]; then
|
||||
echo "Installing email-gen dependencies..."
|
||||
cd "$EMAIL_GEN_ROOT"
|
||||
npm install 2>&1
|
||||
echo "Dependencies ready."
|
||||
fi
|
||||
|
||||
exec node /app/server.js
|
||||
Reference in New Issue
Block a user