New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack stucks in Docker Container #313
Comments
Do you have Docker trying run strapi/base image on linux/arm64/v8? |
running webpack the first time can take a lot of time - on aws the build process inside the codepipeline took mostly ~2-4min. this would also the reason why your ssd is ~100% all the time... so maybe just wait for a longer time..? how long did you wait? |
I had this issue running Docker on a M1 chip. Later I added platform to the Dockerfile and also if it took more than 560 seconds it worked. I also used strapi/base instead of strapi/base:14-alpine This fix worked for me:
|
I created a project using
npx create-strapi-app my-project --quickstart
created a Dockerfile:
Now i'm trying to build the Docker Image, but it stucks always when building the webpack.
When I manually start yarn build in the container, then i can see that it's stuck at 90% processing chunk assets.
My container has 4GB Ram and 2 cpus attached. I can see that its using 100% SSD Read the whole time.
Do you have any suggestions?
The text was updated successfully, but these errors were encountered: