feat: Create uploads directory for avatars on startup.
This commit is contained in:
parent
560b012cd4
commit
5e65dd84f6
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user