feat: Create uploads directory for avatars on startup.

This commit is contained in:
n.tolstov 2025-11-30 22:14:30 +03:00
parent 560b012cd4
commit 5e65dd84f6

View File

@ -3,6 +3,10 @@ set -e
PISTON_URL="${PISTON_URL:-http://piston:2000}" PISTON_URL="${PISTON_URL:-http://piston:2000}"
# Create uploads directory
mkdir -p /app/uploads/avatars
echo "Uploads directory created."
MAX_RETRIES=10 MAX_RETRIES=10
COUNT=0 COUNT=0