37128dee61
Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
159 B
Bash
9 lines
159 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
HISTORY_DIR="${HISTORY_DATA_DIR:-/app/data/history}"
|
|
mkdir -p "$HISTORY_DIR"
|
|
chown -R nextjs:nodejs "$HISTORY_DIR"
|
|
|
|
exec su-exec nextjs "$@"
|