Dockerfile 186 B

12345678910
  1. FROM redis:latest
  2. MAINTAINER kindring
  3. VOLUME "/data"
  4. # 复制redis.conf配置文件到 工作目录中
  5. #COPY ./redis.conf /etc/redis/redis.conf
  6. CMD redis-server /etc/redis/redis.conf