fix: 客户端日志打印变更配置名称,修复 Node.js Dockerfile 和 ConfigList 页面布局
- 各客户端 deleted/changed 日志增加具体配置名称输出 - Node.js Dockerfile 改为单阶段构建,修复依赖找不到问题 - ConfigList.vue 查询条件拆分为独立卡片,新增查询/重置按钮 - Node.js 客户端日志统一使用 console.error
This commit is contained in:
+6
-21
@@ -1,27 +1,12 @@
|
||||
# Build stage
|
||||
FROM node:18-alpine AS build
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
# Copy client library
|
||||
COPY kenaito-conf-nodejs-client/ ./kenaito-conf-nodejs-client/
|
||||
|
||||
# Copy demo project
|
||||
COPY kenaito-conf-nodejs-client-demo/ ./kenaito-conf-nodejs-client-demo/
|
||||
|
||||
# Install client locally, then demo dependencies
|
||||
WORKDIR /src/kenaito-conf-nodejs-client
|
||||
RUN npm link
|
||||
|
||||
WORKDIR /src/kenaito-conf-nodejs-client-demo
|
||||
RUN npm link kenaito-conf && npm install
|
||||
|
||||
# Runtime stage
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /src/kenaito-conf-nodejs-client-demo .
|
||||
|
||||
COPY kenaito-conf-nodejs-client/ ./kenaito-conf-nodejs-client/
|
||||
COPY kenaito-conf-nodejs-client-demo/ ./kenaito-conf-nodejs-client-demo/
|
||||
|
||||
WORKDIR /app/kenaito-conf-nodejs-client-demo
|
||||
RUN npm install ../kenaito-conf-nodejs-client && npm install
|
||||
|
||||
EXPOSE 8083
|
||||
|
||||
CMD ["node", "app.js"]
|
||||
|
||||
Reference in New Issue
Block a user