COPY docker/autoconfig.sh /autoconfig.sh
RUN chmod +x /autoconfig.sh
-#CMD ["node", "src/index.js"]
-CMD /autoconfig.sh && node src/index.js
+#CMD ["node", "src/start.js"]
+CMD /autoconfig.sh && node src/start.js
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
- "main": "src/index.js",
+ "main": "src/start.js",
"scripts": {
- "start": "node src/index.js",
- "start:debug": "node --inspect src/index.js",
- "start:prof": "node --prof src/index.js",
- "start:doctorprof": "clinic doctor -- node src/index.js",
- "start:flameprof": "clinic flame -- node src/index.js",
- "start:bubbleprof": "clinic bubbleprof -- node src/index.js",
+ "start": "node src/start.js",
+ "start:debug": "node --inspect src/start.js",
+ "start:prof": "node --prof src/start.js",
+ "start:doctorprof": "clinic doctor -- node src/start.js",
+ "start:flameprof": "clinic flame -- node src/start.js",
+ "start:bubbleprof": "clinic bubbleprof -- node src/start.js",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"flow": "flow",