Skip to content

Commit

Permalink
Merge pull request #65 from Dwolla/DEV-1066--Dockerize
Browse files Browse the repository at this point in the history
Add Dockerfile
  • Loading branch information
tarricsookdeo committed Sep 23, 2022
2 parents adf0569 + 936e1b3 commit 9808533
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ruby:3.1.2
RUN mkdir app && mkdir app/lib && mkdir app/spec
ADD lib /app/lib
ADD Gemfile /app
ADD dwolla_v2.gemspec /app
ADD Rakefile /app
ADD spec /app/spec
WORKDIR /app
RUN bundle install
CMD ["rake", "spec"]
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,11 @@ _See https://developers.dwolla.com/api-reference#errors for more info._
* 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!
* 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.
* 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).

## Docker

If you prefer to use Docker to run dwolla-v2-python locally, a Dockerfile is included at the root directory.
Follow these instructions from [Docker's website](https://docs.docker.com/build/hellobuild/) to create a Docker image from the Dockerfile, and run it.

## Additional Resources

Expand Down

0 comments on commit 9808533

Please sign in to comment.