Django Tailwind on Elastic Beanstalk

Good day,

I recently deployed a Django project to Elastic Beanstalk using the following tutorial:

This is the website:

The website works fine, including the admin and database, except for the CSS, which gives an error

This template loads properly in development, but you can see the end product after deployment.

I tried including the container_command “python3 manage.py tailwind start”, but this fails the deployment.

Can anyone assist me with this? I am not sure if this is an error in my django application or my EB configuration.

Thanks! If you need any code, I’ll post it here