Dockerfile 361 B

1234567891011121314
  1. FROM redis:latest
  2. LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
  3. ## For security settings uncomment, make the dir, copy conf, and also start with the conf, to use it
  4. #RUN mkdir -p /usr/local/etc/redis
  5. #COPY redis.conf /usr/local/etc/redis/redis.conf
  6. VOLUME /data
  7. EXPOSE 6379
  8. #CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]
  9. CMD ["redis-server"]