Skip to content

Instantly share code, notes, and snippets.

@andre
Created November 12, 2014 05:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andre/4f45e472de2f4de0099c to your computer and use it in GitHub Desktop.
Save andre/4f45e472de2f4de0099c to your computer and use it in GitHub Desktop.
FROM ubuntu:trusty
RUN apt-get update && apt-get install -y ruby ruby-dev gcc make curl
RUN gem install sinatra --no-rdoc --no-ri
ADD . /srv/
# start it up
WORKDIR /srv/
EXPOSE 5000
CMD ["ruby", "main.rb"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment