Add development container Dockerfile

This commit is contained in:
Daniel Schädler 2019-06-20 19:07:57 +02:00
parent 7e2da71b53
commit bbfb9a355b
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# Build production container locally first with following tag
FROM registry.gitlab.com/turniere/turniere-backend/production
WORKDIR /app
RUN bundle install --deployment --with development
ENV RAILS_ENV development
CMD bundle exec rails db:migrate && bundle exec rails s -p 3000 -b 0.0.0.0