tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

not working in docker

Open tsukinoko-kun opened this issue 9 months ago • 2 comments

What version of Tailwind CSS are you using?

3.4.3

What build tool (or framework if it abstracts the build tool) are you using?

Docker Compose

What version of Node.js are you using?

For example: 20.13.1

What browser are you using?

N/A

What operating system are you using?

macOS

Describe your issue

When running tailwindcss cli in a docker container, it isn't doing anything. Exits with code 0.

FROM node:current-bullseye
WORKDIR /App/BlazorApp
RUN ["npm", "install", "-g", "pnpm"]
ENTRYPOINT ["bash", "-c", "pnpm install && pnpm exec tailwindcss -i ./Styles/app.css -o ./wwwroot/app.css --watch"]

Isn't working with or without --watch. Isn't working with or without tty: true in compose.yaml (#5324).

If I run the same thing outside of Docker it works as expected.

tsukinoko-kun avatar May 19 '24 21:05 tsukinoko-kun