|
|
@ -1,3 +1,4 @@ |
|
|
|
|
|
|
|
#使用alpine作为基础镜像 |
|
|
|
FROM node:current-alpine3.12 |
|
|
|
FROM node:current-alpine3.12 |
|
|
|
|
|
|
|
|
|
|
|
#拷贝公钥免密克隆仓库代码 |
|
|
|
#拷贝公钥免密克隆仓库代码 |
|
|
@ -28,8 +29,8 @@ RUN git clone git@gogs.kirito.cool:panqihua/RiskCloudRun.git |
|
|
|
WORKDIR /app/RiskCloudRun |
|
|
|
WORKDIR /app/RiskCloudRun |
|
|
|
#安装依赖 |
|
|
|
#安装依赖 |
|
|
|
RUN yarn |
|
|
|
RUN yarn |
|
|
|
|
|
|
|
#设置工作目录 |
|
|
|
WORKDIR /app |
|
|
|
WORKDIR /app |
|
|
|
|
|
|
|
|
|
|
|
#运行web服务端 |
|
|
|
#运行初始化脚本 |
|
|
|
ENTRYPOINT ["initRisk"] |
|
|
|
ENTRYPOINT ["initRisk"] |