working on a Docker version
This commit is contained in:
parent
894879792d
commit
332efbe9cb
2 changed files with 14 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,6 +7,7 @@
|
||||||
/spec/reports/
|
/spec/reports/
|
||||||
/tmp/
|
/tmp/
|
||||||
/data
|
/data
|
||||||
|
/vendor
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
.config
|
.config
|
||||||
|
|
||||||
|
|
13
Dockerfile
Normal file
13
Dockerfile
Normal 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"]
|
Loading…
Add table
Reference in a new issue