Reduce docker image size (#394)

Reduce docker image size based on:  https://cadu.dev/reduce-your-docker-images-an-example-with-ruby/
This commit is contained in:
Cadu Ribeiro
2019-12-31 09:53:18 -03:00
committed by Sojan Jose
parent 7c4cc68561
commit 434d6c2656
6 changed files with 71 additions and 23 deletions

View File

@@ -6,7 +6,8 @@ services:
context: .
dockerfile: ./docker/Dockerfile
args:
BUNDLE_WITHOUT: ''
BUNDLE_WITHOUT: 'development:test'
EXECJS_RUNTIME: Disabled
RAILS_ENV: 'production'
RAILS_SERVE_STATIC_FILES: 'true'
image: chatwoot:latest