Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chrztoph committed Nov 29, 2023
1 parent 4cc2328 commit 7225fc8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,12 @@ RUN SECRET_KEY_BASE=`bin/rails secret` \
bin/rails assets:precompile

CMD ["rails", "server"]

FROM production AS testing

RUN bundle install --with test
RUN gem install mailcatcher
RUN yarn install --production=false
RUN apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb

CMD ["rails", "server"]

0 comments on commit 7225fc8

Please sign in to comment.