Skip to content

Commit

Permalink
UP
Browse files Browse the repository at this point in the history
  • Loading branch information
OchiengPaul442 committed Dec 11, 2024
1 parent f68fde6 commit 743f2e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/website/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ python manage.py migrate --noinput
echo "Collecting static files..."
python manage.py collectstatic --noinput

# Move collected static files to the Nginx static directory
echo "Moving static files to Nginx directory..."
cp -r /app/staticfiles/* /usr/share/nginx/html/static/

echo "Starting Supervisor (which runs Nginx and Gunicorn)..."
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf

0 comments on commit 743f2e1

Please sign in to comment.