Include development dependencies in development docker container
This commit is contained in:
parent
52d3965df0
commit
9b929ce143
|
|
@ -1,6 +1,6 @@
|
||||||
# Build production container locally first with following tag
|
# Build production container locally first with following tag
|
||||||
FROM registry.gitlab.com/turniere/turniere-backend/production
|
FROM registry.gitlab.com/turniere/turniere-backend/production
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN bundle install --deployment --without test
|
RUN bundle install --deployment --with development
|
||||||
ENV RAILS_ENV development
|
ENV RAILS_ENV development
|
||||||
CMD bundle exec rails db:migrate && bundle exec rails s -p 3000 -b 0.0.0.0
|
CMD bundle exec rails db:migrate && bundle exec rails s -p 3000 -b 0.0.0.0
|
||||||
Loading…
Reference in New Issue