Skip to content

Commit 9808533

Browse files
Merge pull request #65 from Dwolla/DEV-1066--Dockerize
Add Dockerfile
2 parents adf0569 + 936e1b3 commit 9808533

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM ruby:3.1.2
2+
RUN mkdir app && mkdir app/lib && mkdir app/spec
3+
ADD lib /app/lib
4+
ADD Gemfile /app
5+
ADD dwolla_v2.gemspec /app
6+
ADD Rakefile /app
7+
ADD spec /app/spec
8+
WORKDIR /app
9+
RUN bundle install
10+
CMD ["rake", "spec"]

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ _See https://developers.dwolla.com/api-reference#errors for more info._
239239
* If you would like to contribute to this library, [bug reports](https://github.com/Dwolla/dwolla-v2-ruby/issues) and [pull requests](https://github.com/Dwolla/dwolla-v2-ruby/pulls) are always appreciated!
240240
* After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
241241
* To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
242+
243+
## Docker
244+
245+
If you prefer to use Docker to run dwolla-v2-python locally, a Dockerfile is included at the root directory.
246+
Follow these instructions from [Docker's website](https://docs.docker.com/build/hellobuild/) to create a Docker image from the Dockerfile, and run it.
242247

243248
## Additional Resources
244249

0 commit comments

Comments
 (0)