Files
opensem/docker/redis/Dockerfile
2024-02-05 21:38:40 +01:00

13 lines
351 B
Docker

FROM redis:latest
LABEL maintainer="Ludovic CANDELLIER <ludo@huma.net>"
## For security settings uncomment, make the dir, copy conf, and also start with the conf, to use it
RUN mkdir -p /usr/local/etc/redis
COPY redis.conf /usr/local/etc/redis/redis.conf
VOLUME /data
CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]
# CMD ["redis-server"]