Commit b81ff98b authored by Valéry Tschopp's avatar Valéry Tschopp

use Gemfile

parent 60a63a50
......@@ -2,10 +2,14 @@ FROM ruby:alpine
LABEL maintainer="valery.tschopp@switch.ch"
RUN gem install sinatra shotgun haml aws-sdk
RUN mkdir /app
COPY / /app/
#RUN gem install sinatra shotgun haml aws-sdk
COPY Gemfile /
RUN bundle install
RUN mkdir -p /app/views /app/public
COPY /views /app/views
COPY /public /app/public
COPY /s3uploader.rb /app/
EXPOSE 8080
ENTRYPOINT ["shotgun", "--host", "0.0.0.0", "--port", "8080", "/app/s3uploader.rb"]
source 'https://rubygems.org'
gem 'sinatra'
gem 'shotgun'
gem 'haml'
gem 'aws-sdk'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment