Commit 5b53fdce authored by zhangying's avatar zhangying

init

parent ff3bc598
...@@ -12,7 +12,7 @@ RUN npm install ...@@ -12,7 +12,7 @@ RUN npm install
COPY . . COPY . .
# 构建生产版本 # 构建生产版本
RUN npm run build:stage RUN npm run build
# 默认端口,可被环境变量覆盖 # 默认端口,可被环境变量覆盖
ENV APP_PORT_1=8000 ENV APP_PORT_1=8000
......
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"dev": "vue-cli-service serve", "dev": "vue-cli-service serve",
"build:prod": "vue-cli-service build", "build": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview", "preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src" "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