search-video-demo's People
Forkers
yourfrienddhruv niuguangxue fangmingzhou zeqq ceabq lc6937 keyman9848 mafic arlenlawww heliusa yjhuasheng jungsengwook liq05 longfa wasgxusearch-video-demo's Issues
Docker Build Error
Step 7/18 : RUN yarn build
---> Running in f6e847d8cf50
yarn run v1.22.19
$ react-scripts build
Creating an optimized production build...
Failed to compile.
/app/node_modules/@types/react-router/index.d.ts
TypeScript error in /app/node_modules/@types/react-router/index.d.ts(149,100):
Type expected. TS1110
147 | ): match<Params> | null;
148 |
> 149 | export type ExtractRouteOptionalParam<T extends string, U = string | number | boolean> = T extends `${infer Param}?`
| ^
150 | ? { [k in Param]?: U }
151 | : T extends `${infer Param}*`
152 | ? { [k in Param]?: U }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The command '/bin/sh -c yarn build' returned a non-zero code: 1
make: *** [Makefile:4: fronted] Error 1
docker构建镜像会报错,且启动不成功,报找不到env.sh
构建报错:
Step 4/17 : RUN yarn
---> Running in 0137a6c669e3
yarn install v1.22.5
info No lockfile found.
容器启动报错:
/bin/bash: /usr/share/nginx/html/env.sh: /bin/bash^M: bad interpreter: No such file or directory
searchvideodemo_demo_1 not up
Name Command State Ports
searchvideodemo_api_1 /usr/bin/gunicorn3 -w Up 0.0.0.0:5002->5000/tc
4 -b ... p
searchvideodemo_demo_1 /bin/bash -c Exit 1
/usr/share/ng ...
searchvideodemo_milvus /var/lib/milvus Up 0.0.0.0:19530->19530/
1 /docker-ent ... tcp, 0.0.0.0:8080->80
80/tcp
searchvideodemo_minio /usr/bin/docker- Up 0.0.0.0:9000->9000/tc
1 entrypoint ... p
searchvideodemo_redis_ docker-entrypoint.sh Up 0.0.0.0:6379->6379/tc
1 redis ... p
I followed the steps. however when I use docker-compose ps, I got above info.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.