Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ WORKDIR /src

# Run App
EXPOSE 9966
CMD ["npm", "start"]
CMD ["npm", "run", "start-prod"]
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"compile": "browserify -d src/index.js -s osrm > bundle.raw.js && uglifyjs bundle.raw.js -c -m --source-map=bundle.js.map -o bundle.js",
"build": "npm run replace && npm run compile && cp node_modules/leaflet/dist/leaflet.css css/leaflet.css",
"start-index": "budo src/index.js --serve=bundle.js --live -d | bistre",
"start-index-prod": "budo src/index.js --serve=bundle.js -d | bistre",
"start": "npm run build && npm run start-index",
"start-prod": "npm run build && npm run start-index-prod",
"prepub": "npm run build"
},
"repository": {
Expand Down