diff options
| author | Ahmed AbdelHalim <[email protected]> | 2023-07-02 19:19:17 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2023-07-02 19:19:17 +0200 |
| commit | 36c22fba73375f18ad46334a27d6b418309448e8 (patch) | |
| tree | 7017a6d74c7d0e5cb218a88072062ff91f7766f8 /CLI/ruby/Dockerfile | |
| parent | 58fefe99f933343f7c5556ca3bc719743c54f322 (diff) | |
Use docker for ruby dev and fix yard with ruby 3
Diffstat (limited to 'CLI/ruby/Dockerfile')
| -rw-r--r-- | CLI/ruby/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CLI/ruby/Dockerfile b/CLI/ruby/Dockerfile new file mode 100644 index 0000000..42f98c0 --- /dev/null +++ b/CLI/ruby/Dockerfile @@ -0,0 +1,14 @@ +From alpine:3.18 + +RUN apk add build-base ruby ruby-dev ruby-bundler + +WORKDIR /app +COPY Gemfile Gemfile.lock game_of_life.gemspec . +RUN bundle install + +COPY . . +RUN bundle exec rake build +RUN bundle exec rake install +CMD game-of-life + +VOLUME /app |
