Reduce Docker image size
- Removed node_modules from client after compilation - Added copy-webpack-plugin to copy required JS and fonts to dist - Adjusted server to serve files from client/dist - add js-yaml to server packages in order to use npm install --production
This commit is contained in:
parent
ed2655b78e
commit
43edf35637
7 changed files with 258 additions and 18 deletions
|
|
@ -78,6 +78,7 @@
|
|||
"humanize": "0.0.9",
|
||||
"i18next": "^13.1.0",
|
||||
"isemail": "^3.2.0",
|
||||
"js-yaml": "^3.13.1",
|
||||
"jsdom": "^13.1.0",
|
||||
"juice": "^5.2.0",
|
||||
"klaw-sync": "^6.0.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue