working on a Docker version

This commit is contained in:
Brendan McDevitt 2019-03-28 23:12:15 -05:00
parent 894879792d
commit 332efbe9cb
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View file

@ -7,6 +7,7 @@
/spec/reports/
/tmp/
/data
/vendor
Gemfile.lock
.config

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM ruby:2.5
RUN mkdir /usr/src/app
ADD . /usr/src/app/
WORKDIR /usr/src/app/
RUN gem update --system
RUN gem install bundler
RUN bundle install
WORKDIR /usr/src/app/bin
CMD ["./console"]