Browse Source

fixing docker file and so on

master
Thomas Riboulet 6 years ago
parent
commit
f41db0dba4
  1. 3
      Dockerfile
  2. 1
      config.ru

3
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

1
config.ru

@ -1 +1,2 @@
require './hello'
run Rack::URLMap.new('/' => SimpleApp)

Loading…
Cancel
Save