Commit 8e61b14e by xiawei

r

parent 5bb42e2d
#!/bin/sh
VETSION=latest
docker login --username=cuiboqian@1812501212048408 registry.cn-hangzhou.aliyuncs.com
docker build -t registry.cn-hangzhou.aliyuncs.com/cduan/web-live:$VETSION .
docker push registry.cn-hangzhou.aliyuncs.com/cduan/web-live:$VETSION
\ No newline at end of file
......@@ -5,7 +5,7 @@ config:
spa: false
ssr: true
folder: nuxt-dist
proxy: 127.0.0.1:3000
proxy: http://127.0.0.1:3000
server: /web\.guangdianyun\.tv/
target:
......
......@@ -9,8 +9,7 @@ WORKDIR "/var/www/web_live"
RUN chmod +x pStart.sh && \
yarn install && \
yarn build:private && \\
shopt -s extglob && \\
rm -rf !(node_modules|nuxt-dist|static|package.json|nuxt.config.js|pm2.json|pDockerfile|pStart.sh)
yarn build:private && \
rm -rf assets components config layouts middleware plugins serverMiddleware store views .eslintrc.js .gitignore build.yml Dockerfile router.js README.md start.sh
ENTRYPOINT ["./start.sh"]
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 sign in to comment