Commit 7417fa52 by xiawei

test

parent d1135a67
...@@ -11,7 +11,7 @@ ENV TZ Asia/Shanghai ...@@ -11,7 +11,7 @@ ENV TZ Asia/Shanghai
WORKDIR /var/www/web_live WORKDIR /var/www/web_live
COPY --from=builder /home/app/package.json ./package.json COPY --from=builder /home/app/package.json ./package.json
COPY --from=builder /home/app/node_modules ./node_modules COPY --from=builder /home/app/node_modules ./node_modules
RUN yarn build RUN yarn cross-env run_server=production nuxt build
RUN rm -rf assets components layouts middleware pages plugins store .eslintrc.js .gitignore build.yml pDockerfile README.md pStart.sh RUN rm -rf assets components layouts middleware pages plugins store .eslintrc.js .gitignore build.yml pDockerfile README.md pStart.sh
EXPOSE 3000 EXPOSE 3000
RUN chmod +x start.sh RUN chmod +x 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