Skip to content

Commit

Permalink
Merge pull request #962 from doconnor-clintel/patch-1
Browse files Browse the repository at this point in the history
Update Dockerfile Ruby Version
  • Loading branch information
CloCkWeRX authored Apr 23, 2022
2 parents 655080b + 54f4e01 commit 4b4e83e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# docker-compose up
# docker-compose exec web bundle exec rake db:create db:schema:load ffcrm:demo:load

FROM ruby:2.4
FROM ruby:2.7

LABEL author="Steve Kenworthy"

Expand All @@ -20,6 +20,7 @@ RUN apt-get update && \
apt-get autoremove -y && \
cp config/database.postgres.docker.yml config/database.yml && \
gem install bundler && \
bundle config set --local deployment 'true' && \
bundle install --deployment && \
bundle exec rails assets:precompile

Expand Down

0 comments on commit 4b4e83e

Please sign in to comment.