GitHub user vmaksimenko added a comment to the discussion: Custom docker image build takes a long time and then gets stuck
I experienced the same problem running the Superset docker compose on Windows 11 WSL2. I waited a long time, and when npm run build finished after 40 minutes, with 30K+ errors about prettier/prettier: Delete ␍. As I understand, it occurs due to Windows and Linux end-of-line differences when copying files in a Docker image. Running the following commands on the project level helped me. After the fix build runs faster and with success. ``` git config core.autocrlf false git rm --cached -r . git reset --hard ``` GitHub link: https://github.com/apache/superset/discussions/25418#discussioncomment-14327897 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
