{"id":28073504,"url":"https://github.com/scriptogre/tailwindcss-docker","last_synced_at":"2026-05-02T06:31:41.238Z","repository":{"id":292845139,"uuid":"982115005","full_name":"scriptogre/tailwindcss-docker","owner":"scriptogre","description":"A minimal Docker image for running the Tailwind CSS standalone CLI with proper signal forwarding.","archived":false,"fork":false,"pushed_at":"2025-05-12T13:14:30.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T22:59:22.961Z","etag":null,"topics":["docker","tailwindcss","tailwindcss-cli","tini"],"latest_commit_sha":null,"homepage":"https://ghcr.io/scriptogre/tailwindcss","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptogre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-12T11:54:07.000Z","updated_at":"2025-05-12T13:14:33.000Z","dependencies_parsed_at":"2025-05-12T13:37:19.109Z","dependency_job_id":null,"html_url":"https://github.com/scriptogre/tailwindcss-docker","commit_stats":null,"previous_names":["scriptogre/tailwindcss-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Ftailwindcss-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Ftailwindcss-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Ftailwindcss-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptogre%2Ftailwindcss-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptogre","download_url":"https://codeload.github.com/scriptogre/tailwindcss-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837406,"owners_count":21971982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","tailwindcss","tailwindcss-cli","tini"],"created_at":"2025-05-12T22:59:27.576Z","updated_at":"2026-05-02T06:31:41.234Z","avatar_url":"https://github.com/scriptogre.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TailwindCSS in Docker\n\nA dead simple way to run [Tailwind CSS](https://tailwindcss.com/) from a Docker container. \n\nNo more **Node.JS**. No more **manual downloads of the CLI**.\n\n1. Create `input.css` in your project:\n    ```css\n    @import 'tailwindcss';\n    ``` \n2. Create `docker-compose.yml` in your project:\n    ```yaml\n    services:\n      tailwindcss:\n        # You can also use pinned versions, e.g. `:4.1.7`\n        image: ghcr.io/scriptogre/tailwindcss:latest\n        tty: true  # Required for watch mode\n        volumes:\n          - .:/app\n        command: -i ./input.css -o ./output.css --watch\n    ```\n\n3. Or run `docker run` command (note the `-t` flag is required for watch mode):\n```bash\ndocker run -t -v \"$(pwd)\":/app \\\n  ghcr.io/scriptogre/tailwindcss:latest -i ./input.css -o ./output.css --watch\n```\n\n### **Watch Mode Requirement**\n- For watch mode (`--watch`), you must:\n  - In `docker-compose.yml`: Set `tty: true`\n  - In `docker run`: Use the `-t` flag\n- Without these, the container will exit after the first build\n\n### **Notes:**\n- Make sure you mount all source files (`*.html`, `*.css`, `*.js`, …) to `/app`, so Tailwind’s watcher can see them within the container.\n- The `ghcr.io/scriptogre/tailwindcss:latest` image is rebuilt daily to track the newest Tailwind CSS release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptogre%2Ftailwindcss-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptogre%2Ftailwindcss-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptogre%2Ftailwindcss-docker/lists"}