Skip to content

Commit

Permalink
Updated Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
pilwon committed Jan 11, 2014
1 parent e208c19 commit 7ad5a2d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,20 @@

# Pull base image.
FROM dockerfile/ubuntu

# Install Node.js
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:chris-lea/redis-server
RUN apt-get update
RUN apt-get install -y redis-server

# Mount directory.
VOLUME ["/redis"]
WORKDIR /redis

# Expose ports.
EXPOSE 6379

# Turn this container into an executable.
ENTRYPOINT ["/redis/src/redis-server"]
CMD ["-h"]

0 comments on commit 7ad5a2d

Please sign in to comment.