Skip to content

Commit bdee267

Browse files
authored
Added docker troubleshooting info to README
This adds some troubleshooting information for people that are using docker for their rails instances.
1 parent 7fb4975 commit bdee267

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,10 @@ There is a [known issue](https://github.com/tailwindlabs/tailwindcss/issues/1724
428428
429429
Please try uninstalling `watchman` and try running the watch task again.
430430
431+
### The `assets:precompile` command is hanging inside a docker container
432+
433+
Make sure your Dockerfile uses a `WORKDIR`. Otherwise Tailwind will also search all operating system files of that container for class names.
434+
431435
### Lost keystrokes or hanging when using terminal-based debugging tools (e.g. IRB, Pry, `ruby/debug`...etc.) with the Puma plugin
432436
433437
We've addressed the issue and you can avoid the problem by upgrading `tailwindcss-rails` to [v2.4.1](https://github.com/rails/tailwindcss-rails/releases/tag/v2.4.1) or later versions.

0 commit comments

Comments
 (0)