Created
August 15, 2017 02:42
-
-
Save jwkidd3/a845972d10a128ff8775726c005ebeaa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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