Frontend failed to build
See original GitHub issueHow to reproduce the behaviour
I run
sudo docker-compose -f docker-copose.prod.yml up
i got this error
ERROR: Service ‘frontend’ failed to build: The command ‘/bin/sh -c npm run build’ returned a non-zero code: 1
so after i was change node version in frontend/Dockerfile file from 13.2 to 13.6 and then go out of doccano folder and then run prune volumes with this command
sudo docker system prune -a --volumes
and again run
sudo docker-compose -f docker-compose.prod.yml up
command but i got still same error . Please tell me what i have to do now to fix this error.
Your Environment
- Operating System:18.04
- Python Version Used:3.6
- When you install doccano: one month back
- How did you install doccano (Heroku button etc): git clone + docker-compose
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Error: failed to solve with frontend when building docker ...
I tried searching to see if anyone encountered this challenge and I could not retrieve anything. I have a simple docker file: FROM ......
Read more >Docker error: Service 'app' failed to build - Stack Overflow
This error means that you do not have config/requirements.txt in your current directory where build is run. Adjust your path on the Dockerfile ......
Read more >[SOLVED] failed to solve with frontend dockerfile.v0
In this article, we have explored the reason behind the error "failed to solve with frontend dockerfile.v0" and presented multiple ways (5) to...
Read more >ERROR: Service 'mfe' failed to build : Build failed
I'm getting this error when plugin of mfe is enabled, but when I disabled it working fine. Case, I'm working on tutor, and...
Read more >docker build failed to solve with frontend dockerfile.v0 - You.com
Table of contents: The Error: failed to solve with frontend dockerfile.v0. Fix 1: Disable Buildkit of Docker. Fix 2: Ensure Dockerfile is named...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OK. I confirmed the problem.
Thank you , it is working now .