Skip to content
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

Failing to build Dockerfile #197

Open
n10000k opened this issue Apr 30, 2021 · 0 comments
Open

Failing to build Dockerfile #197

n10000k opened this issue Apr 30, 2021 · 0 comments

Comments

@n10000k
Copy link

n10000k commented Apr 30, 2021

uncodable@area51 concierge-master % docker-compose -f docker-compose.dev.yml up

Docker Compose is now in the Docker CLI, try `docker compose up`

Building web
[+] Building 22.5s (10/13)                                                                                                                                                                                    
 => [internal] load build definition from Dockerfile                                                                                                                                                     0.0s
 => => transferring dockerfile: 120B                                                                                                                                                                     0.0s
 => [internal] load .dockerignore                                                                                                                                                                        0.0s
 => => transferring context: 117B                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/python:3.6-alpine                                                                                                                                     1.4s
 => [internal] load build context                                                                                                                                                                        0.1s
 => => transferring context: 417.96kB                                                                                                                                                                    0.1s
 => [1/9] FROM docker.io/library/python:3.6-alpine@sha256:8b3bf4207cbea183c8fcc71148365e687583379de64ec52a0460f14cd3dece4d                                                                               0.0s
 => CACHED [2/9] RUN apk --no-cache add     nodejs     nodejs-npm     gcc     jpeg-dev     musl-dev     pcre-dev     linux-headers     postgresql-dev     zlib-dev     mailcap     gettext               0.0s
 => [3/9] COPY . /app                                                                                                                                                                                    0.3s
 => [4/9] WORKDIR /app                                                                                                                                                                                   0.0s
 => [5/9] RUN npm install -g npm                                                                                                                                                                        15.7s
 => ERROR [6/9] RUN npm install &&     npm update &&     npm run build                                                                                                                                   4.8s
------                                                                                                                                                                                                        
 > [6/9] RUN npm install &&     npm update &&     npm run build:                                                                                                                                              
#8 4.751 npm ERR! code ERESOLVE                                                                                                                                                                               
#8 4.757 npm ERR! ERESOLVE unable to resolve dependency tree                                                                                                                                                  
#8 4.758 npm ERR!                                                                                                                                                                                             
#8 4.759 npm ERR! While resolving: [email protected]                                                                                                                                                        
#8 4.759 npm ERR! Found: [email protected]
#8 4.759 npm ERR! node_modules/react
#8 4.759 npm ERR!   react@"^15.4.2" from the root project
#8 4.759 npm ERR! 
#8 4.759 npm ERR! Could not resolve dependency:
#8 4.760 npm ERR! peer react@"^16.13.1" from [email protected]
#8 4.760 npm ERR! node_modules/react-dom
#8 4.760 npm ERR!   react-dom@"^16.0.1" from the root project
#8 4.760 npm ERR! 
#8 4.760 npm ERR! Fix the upstream dependency conflict, or retry
#8 4.761 npm ERR! this command with --force, or --legacy-peer-deps
#8 4.761 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
#8 4.761 npm ERR! 
#8 4.761 npm ERR! See /root/.npm/eresolve-report.txt for a full report.
#8 4.774 
#8 4.774 npm ERR! A complete log of this run can be found in:
#8 4.775 npm ERR!     /root/.npm/_logs/2021-04-30T14_23_41_278Z-debug.log
------
executor failed running [/bin/sh -c npm install &&     npm update &&     npm run build]: exit code: 1
ERROR: Service 'web' failed to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant