markusfalk / ng-dockerize

Schematics to add docker configuration files to angular app.
MIT License
0 stars 0 forks source link

add --production flag npm ci command in dockerfile #13

Closed markusfalk closed 5 years ago

markusfalk commented 5 years ago

As it turns out. Cypress takes forever to unpack during docker build. Deve dependencies need to be skipped with npm ci --production

markusfalk commented 5 years ago

the cli is a dev dependency and need for the build inside the image. this cannot be done.