forked from be-hase/relumin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (20 loc) · 655 Bytes
/
Copy pathDockerfile
File metadata and controls
29 lines (20 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM centos:6
MAINTAINER Ryosuke Hasebe <hsb.1014@gmail.com>
ENV HOME /root
ENV REDIS_VER 3.0.5
# Define working directory.
WORKDIR $HOME
COPY docker/conf $HOME/conf
COPY docker/install $HOME/install
COPY docker/scripts $HOME/scripts
# yum
RUN yum -y groupinstall "Development Tools"
RUN yum -y install python-setuptools wget tar
# supervisor
RUN easy_install supervisor
# install redis
RUN sh $HOME/install/redis/install.sh
# Define default command.
CMD supervisord -c $HOME/conf/supervisord/supervisord.conf
# Expose ports.
EXPOSE 9000 10000 10001 10002 10003 10004 10005 20000 20001 20002 20003 20004 20005 10010 10011 10012 10013 10014 10015