broke
This commit is contained in:
@ -14,11 +14,10 @@ echo "[✔] Database is up"
|
||||
# Only the "flask" entrypoint needs uploads + migrations
|
||||
if [ "$1" = "flask" ]; then
|
||||
|
||||
# Prepare upload dir (web only)
|
||||
# Prepare upload dir (web only) — path comes from .env UPLOAD_FOLDER (e.g. "data/uploads")
|
||||
UPLOAD_DIR="/app/${UPLOAD_FOLDER:-static/uploads}"
|
||||
mkdir -p "$UPLOAD_DIR"
|
||||
chown -R 1000:998 "$UPLOAD_DIR"
|
||||
chmod -R 775 "$UPLOAD_DIR"
|
||||
echo "⏺️ Ensured upload directory exists: $UPLOAD_DIR"
|
||||
|
||||
# Run DB migrations
|
||||
echo "[🛠️] Applying database migrations"
|
||||
|
Reference in New Issue
Block a user