File tree 3 files changed +22
-0
lines changed
3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ node_modules
2
+ npm-debug.log
Original file line number Diff line number Diff line change
1
+ FROM node:carbon
2
+
3
+ WORKDIR /usr/src/app
4
+
5
+ # Install app dependencies
6
+ # A wildcard is used to ensure both package.json AND package-lock.json are copied
7
+ # where available (npm@5+)
8
+ COPY package*.json ./
9
+
10
+ # RUN npm install
11
+ # If you are building your code for production
12
+ RUN npm install --only=production
13
+
14
+ # Bundle app source
15
+ COPY . .
16
+
17
+ EXPOSE 7001
18
+
19
+ CMD [ "npm" , "run" , "start:docker" ]
Original file line number Diff line number Diff line change 22
22
},
23
23
"scripts" : {
24
24
"start" : " egg-scripts start --daemon --title=egg-server-smart-signature-server" ,
25
+ "start:docker" : " egg-scripts start" ,
25
26
"stop" : " egg-scripts stop --title=egg-server-smart-signature-server" ,
26
27
"dev" : " egg-bin dev" ,
27
28
"debug" : " egg-bin debug" ,
You can’t perform that action at this time.
0 commit comments