From f41db0dba4386895c83a41bad95b55f4816b1994 Mon Sep 17 00:00:00 2001 From: Thomas Riboulet Date: Fri, 7 Oct 2016 14:32:21 +0100 Subject: [PATCH] fixing docker file and so on --- Dockerfile | 3 +-- config.ru | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) 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)