@@ -1 +1,2 @@
-VUE_APP_PORTAL_HOST='http://p.seecoder.cn'
+VUE_APP_PORTAL_HOST='http://p.seecoder.cn'
+VUE_APP_API_URL = '/api'
@@ -1,3 +1,2 @@
NODE_ENV = production
-VUE_APP_API_URL = 'http://devcloud.seec.seecoder.cn/api'
VUE_APP_ENV_NAME = ''
@@ -1,3 +0,0 @@
-NODE_ENV = test
-VUE_APP_API_URL = 'http://devcloud-test.seec.seecoder.cn/api'
-VUE_APP_ENV_NAME = '[线上测试环境]'
@@ -0,0 +1,11 @@
+FROM node:10-alpine as builder
+WORKDIR /code
+RUN yarn config set registry https://registry.npm.taobao.org/
+ADD package.json /code
+RUN yarn install
+ADD . /code
+RUN yarn build:prod
+
+FROM nginx:1.19-alpine
+COPY nginx.conf /etc/nginx/conf.d/seecoder.conf
+COPY --from=builder /code/dist/ /var/www/html/dist/