Open jsperezg opened 6 years ago
command should be moved to docker-compose file as well.
Oh yeah, this Dockerfile
isn't well maintained, as we're not developing on docker locally :(. We've since created a decidim official image for both development (and CI) and production. Maybe we could migrate to that one: https://hub.docker.com/r/decidim/decidim/
Any action in this issue since Jan 2018? solved? could it be closed?
:tophat: User Story
Docker file specifies that image should be built on top of ruby 2.4.0 but Gem file specifies that the minimum version is 2.4.2.
Another problem that I've found trying to run it from docker in my computer is that the gem decidim-dataviz is not being referenced during the image construction which causes the command bundle install to fail.
Docker file should change the first line to reference the right ruby version:
FROM ruby:2.4.2
Additionally it should import the databiz engine:
ADD ./decidim-dataviz/decidim-dataviz.gemspec /tmp/decidim-dataviz/decidim-dataviz.gemspec