DailySportsNews / entrypoint.sh
circulartext's picture
Update entrypoint.sh
222793b
raw
history blame
237 Bytes
#!/bin/bash
# Set the correct permissions on the /app directory as root
chmod -R 777 /app
# Start the FastAPI application as root initially
exec "$@"
# Optionally, switch to a non-root user if needed
# USER 1000
# exec gosu 1000 "$@"