Closed jamesjwarren closed 9 years ago
@edwardoparearyee the issue you were having should now be resolved. I've configured the app to run with foreverjs
in production which will ensure it restarts if it crashes. It also provides the option to restart on file changes in development, you can run this locally with forever -w app.js
.
I've also added image building and jshint tests in circle. I will add some more documentation to the README.
Working for me now :+1:
@krak3n built with an alpine base and optomised deps, gets the total image size down to ~580 mb from ~860 mb
I'm still surprised at that large image size. TBSeen DMS has more build dependencies with a much smaller image size.
Can you make sure .git
is int the .dockerignore
.
Also once you have rebuilt try a docker history
on the image, it will show you the layers, what they did and the size of the layer. I'm just curious as to what adds to the size.
Lets Get This Merged!
Initial dockerfile and compose config.