diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index e8c30c5..0000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM node:current-alpine3.12 - -RUN mkdir /app -WORKDIR /app -RUN git clone git@gogs.kirito.cool:panqihua/RiskCloudRun.git -WORKDIR /app/RiskCloudRun -RUN mv shell/* ../ - -CMD ["node","/bin/www"] - diff --git a/routes/index.js b/routes/index.js index 4de0d1f..0d634ff 100644 --- a/routes/index.js +++ b/routes/index.js @@ -16,7 +16,7 @@ router.post('/server', function(req, res, next) { } console.log(`stdout: ${stdout}`); console.log(`stderr: ${stderr}`); - res.json({message:`自动部署服务端成功,版本号:${updated_at}`}) + res.json({message:`开始自动部署服务端,版本号:${updated_at}`}) })