Commit 12fca450 authored by rockyl's avatar rockyl

再次修复打包问题

parent f8163b1d
......@@ -12,4 +12,4 @@ RUN mkdir /root/duiba-deploy/
ADD ./duiba-deploy /root/duiba-deploy/
WORKDIR /root/duiba-deploy/
#define entry point which will be run first when the container starts up
ENTRYPOINT npm start
ENTRYPOINT npm run start
......@@ -11,7 +11,10 @@
},
"scripts": {
"dev": "rollup -c -w",
"build": "rollup -c",
"build:rollup": "rollup -c",
"build": "echo 1",
"install": "yarn clean && yarn install",
"clean": "rm -rf ./node_modules",
"start": "node dist/index.js"
},
"devDependencies": {
......
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