diff --git a/Dockerfile b/Dockerfile index d6e59f5..7b7292f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,8 @@ ENV PORT 80 ENV RACK_ENV production # Define working directory. -WORKDIR /var/app +ADD . /var/app -RUN git clone https://github.com/mcansky/sinatra_hello.git /var/app RUN cd /var/app; bundle install EXPOSE 80 diff --git a/config.ru b/config.ru index 556096a..5d7f69e 100644 --- a/config.ru +++ b/config.ru @@ -1 +1,2 @@ require './hello' +run Rack::URLMap.new('/' => SimpleApp)