From 3d1ec5a170f9780d3cbdb3fab1d7843747c95015 Mon Sep 17 00:00:00 2001 From: tim-strazzere Date: Fri, 10 Nov 2017 11:57:42 -0800 Subject: [PATCH] Fix Dockerfile and Readme Command and readme was bad, also fix dockerfile. --- Dockerfile | 6 +++++- README.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a429c4..34491b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,13 @@ # docker run --rm=true "catphish:${TAG}" --Domain ring0labs.com --All FROM ruby:2.3.4-alpine +RUN apk --no-cache add g++ make +RUN gem install unf_ext --no-ri --no-rdoc + # Install it into the /opt/ dir WORKDIR /opt/catphish -ADD * /opt/catphish/ +ADD Gemfile \ + catphish.rb /opt/catphish/ RUN bundle install # Use the script as the entrypoint so we can supply args directly to the docker daemon diff --git a/README.md b/README.md index c618637..e3f322f 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ $ docker run \ --rm=true \ "catphish:${TAG}" \ --Domain ring0labs.com \ - --All + generate --All ``` # In Action