How can I integrate Tailwind css into my Django project with Docker?


I’m trying to use Tailwind CSS in my Django project running with Docker / Docker-compose. my Django container is built with python:3.9-slim, which has no npm built-in.

I am thinking to use node:15.4-alpine to install tailwind css. How can I do so? Can someone give me guidance on Dockerfile and docker-compose.yml

I’ve tried to start with this tailwind playground. But I don’t need to run the live-server.

Source: Docker Questions


Leave a Reply

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us