I made a quick PR to implement docker multi-stage build on your Dockerfile to reduce the final image size.
Now the final image size don't have linux-headers and other builds deps.
It seems to work well on my raspberry running my production.
I had to add moment as deps because it's an optional deps for bunyan (I disable optional deps on npm install) and it is required for bunyan with -L flag
Before multi stage, image on my raspberry is : 352.4 MB
After multi stage, image on my raspberry is 116.7 MB
Hello @fmartinou,
I made a quick PR to implement docker multi-stage build on your Dockerfile to reduce the final image size. Now the final image size don't have linux-headers and other builds deps.
It seems to work well on my raspberry running my production.
I had to add moment as deps because it's an optional deps for bunyan (I disable optional deps on npm install) and it is required for bunyan with -L flag
Before multi stage, image on my raspberry is : 352.4 MB After multi stage, image on my raspberry is 116.7 MB