Skip to content

Commit

Permalink
Rewrite Dockerfile to build locally not from rubygems!
Browse files Browse the repository at this point in the history
  • Loading branch information
hammady committed Mar 1, 2018
1 parent 15ca01d commit cf91d43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 1,3 @@
pkg
spec
.env
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 2,9 @@ FROM ruby:2.3

label maintainer="Hossam Hammady <[email protected]>"

RUN gem install scaltainer
WORKDIR /home
COPY / /home/
RUN bundle install && bundle exec rake install

ENTRYPOINT ["scaltainer"]

Expand Down

0 comments on commit cf91d43

Please sign in to comment.