Comments (9)
https://github.com/fjc0k/docker-YApi#%E5%AE%89%E8%A3%85
from docker-yapi.
// 需安装的插件列表 plugins: [ { "name": "dingding" , "options": { "host": "http://yapi.xxxx.com" } }, { name: 'import-swagger-customize' } ]
其他没改,config.js弄成这样
在执行:Step 11/18 : RUN npm run build-client
---> Running in 45bcf42b2a96
[email protected] build-client /yapi/vendors
NODE_ENV=production ykit pack -m
提示:internal/modules/cjs/loader.js:716
throw err;
^
Error: Cannot find module 'yapi-plugin-dingding'
from docker-yapi.
文档有说你要 docker build 嘛?
from docker-yapi.
build-client? 就是在dockerfile和start.js里啊。
from docker-yapi.
请从头到尾看一遍文档或者把你的操作步骤列举下来。你出现了 RUN
,那你肯定是自己 build 镜像了,但文档里并没有让你自己构建镜像
from docker-yapi.
1:下载你的源码,发布到docker镜像中
2:没添加插件的时候,是可以正常编译发布的。
3:在config.js里,按照文档的,把dingding插件加进去,结果就显示:Cannot find module 'yapi-plugin-dingding'
我qq:82911126
from docker-yapi.
你为什么要自己发布呢?
from docker-yapi.
你的意思是直接拉取你的镜像么
from docker-yapi.
这本来就是一个 docker 镜像的开源项目,而不是 Dockerfile 的开源项目。你如果要自己定制发布镜像,你肯定得自己弄/改 Dockerfile
from docker-yapi.
Related Issues (20)
- 不能运行
- 设置YAPI_DB_USER、YAPI_DB_PASS之后,yapi-web运行报错
- 设置YAPI_DB_USER、YAPI_DB_PASS之后,yapi-web运行报错 HOT 2
- yapi-plugin-qsso 登录按钮不显示
- 无法上传postman json数据更新
- yapi-mongo exited HOT 2
- 您的CI挂了,导致dockerhub推送失败 HOT 3
- 更新不了,最新版本是1.10.2而不是1.20,在docker hub查询也是1.10.2 HOT 1
- 1.12.0 漏洞修复,镜像未更新成功 HOT 11
- 数据迁移重新部署后提示 等待 mongodb
- 登陆报504
- 该用户不存在
- 插件安装不了
- 增加内置插件
- yapi-mongo 的数据是一值存在吗
- 高级Mock保存不了
- 不能运行测试呢 HOT 2
- 找不到插件 HOT 4
- Error: EROFS: read-only file system, mkdir '/sys/fs/cgroup/cpu/safeify' HOT 1
- 请问脚本怎么写
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.
from docker-yapi.