From 93b9173deacf1765ed88073e0d37d9d522512a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=A4dler?= <32635600+Malaber@users.noreply.github.com> Date: Wed, 12 Jun 2019 09:54:15 +0200 Subject: [PATCH] Build development version of Docker container --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5af2fc2..cf016f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ RUN apk add build-base tzdata sqlite sqlite-dev && gem install tzinfo-data WORKDIR /app COPY Gemfile /app/Gemfile COPY Gemfile.lock /app/Gemfile.lock -RUN bundle install --deployment --without development test +RUN bundle install --deployment --without test COPY . /app -ENV RAILS_ENV production +ENV RAILS_ENV development CMD bundle exec rails db:migrate && bundle exec rails s -p 3000 -b 0.0.0.0