Adds missing standard artifacts: - README.md (if missing) - AGENTS.md (AI agent contract) - PLAN.md (current sprint) - STATUS.md (where we are) - DEVELOPMENT.md (dev workflow) - DEPLOYMENT.md (deploy procedure) - TESTING.md (test strategy) - DECISIONS.md (ADR index + templates) - .github/CODEOWNERS - .github/workflows/ci.yml Preserves all existing artifacts. Refs: RugMunchMedia/fleet-template
15 lines
404 B
Bash
Executable file
15 lines
404 B
Bash
Executable file
#!/bin/sh
|
|
# Entry runs as root. Chown data dir then exec CMD as walletpress (per Dockerfile USER directive).
|
|
set -e
|
|
|
|
mkdir -p /data
|
|
# chown needs to be done as root (current user)
|
|
chown -R walletpress:walletpress /data
|
|
chmod 755 /data
|
|
|
|
# Print info
|
|
echo "[walletpress] data dir ready: /data"
|
|
echo "[walletpress] starting: $@"
|
|
|
|
# Exec the CMD — runs as walletpress (Dockerfile USER directive)
|
|
exec "$@"
|