Skip to content

Instantly share code, notes, and snippets.

@jwkidd3
Created August 15, 2017 02:42
Show Gist options
  • Save jwkidd3/a845972d10a128ff8775726c005ebeaa to your computer and use it in GitHub Desktop.
Save jwkidd3/a845972d10a128ff8775726c005ebeaa to your computer and use it in GitHub Desktop.
FROM ubuntu:16.04
MAINTAINER John Doe "[email protected]"
ENV REFRESHED_AT 2017-06-01
RUN apt-get update && apt-get -y install ruby ruby-dev build-essential redis-tools
RUN gem install --no-rdoc --no-ri sinatra json redis
RUN mkdir -p /opt/webapp
EXPOSE 4567
CMD [ "/opt/webapp/bin/webapp" ]
FROM ubuntu:16.04
MAINTAINER John Doe "[email protected]"
ENV REFRESHED_AT 2017-06-01
RUN apt-get -qq update && apt-get -qq install redis-server redis-tools
EXPOSE 6379
ENTRYPOINT ["/usr/bin/redis-server" ]
CMD []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment