fix: auto-fix data/history write permissions in Docker entrypoint
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/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 "$@"
|
||||
Reference in New Issue
Block a user