output env in dockerfile

This commit is contained in:
Daniel Schädler 2019-06-21 10:35:09 +02:00
parent d6f97f550b
commit b379a5b3cc
1 changed files with 1 additions and 0 deletions

View File

@ -3,5 +3,6 @@ FROM registry.gitlab.com/turniere/turniere-backend/development
WORKDIR /app WORKDIR /app
RUN bundle install --deployment --with test RUN bundle install --deployment --with test
ENV RAILS_ENV test ENV RAILS_ENV test
RUN env
RUN bundle exec rails db:migrate && bundle exec rails spec RUN bundle exec rails db:migrate && bundle exec rails spec
CMD /bin/sh CMD /bin/sh