Commit 5b53fdce authored by zhangying's avatar zhangying

init

parent ff3bc598
......@@ -12,7 +12,7 @@ RUN npm install
COPY . .
# 构建生产版本
RUN npm run build:stage
RUN npm run build
# 默认端口,可被环境变量覆盖
ENV APP_PORT_1=8000
......
......@@ -6,8 +6,7 @@
"license": "MIT",
"scripts": {
"dev": "vue-cli-service serve",
"build:prod": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
"build": "vue-cli-service build",
"preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment