Add Ruby environment (#223)

Adds a Ruby environment and examples.
This commit is contained in:
S. Brent Faulkner
2017-06-17 10:48:05 -07:00
committed by Soam Vasani
parent 0207d13b23
commit a8e7ec534b
8 changed files with 196 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM ruby:2.4.1
RUN apt-get update -qq && apt-get install -y build-essential
RUN mkdir /app
WORKDIR /app
ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock
RUN bundle install
COPY . /app
EXPOSE 8888
ENTRYPOINT ["ruby"]
CMD ["server.rb"]