gvadocker/redis/Dockerfile

19 lines
419 B
Docker
Raw Normal View History

2020-03-02 15:50:46 +01:00
FROM debian:buster
LABEL maintainer "Jan Dittberner <jan@dittberner.info>"
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
dumb-init \
redis-server \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*.*
EXPOSE 6379
VOLUME /var/lib/redis
COPY redis.conf /etc/redis/redis.conf
COPY startup.sh /srv/
ENTRYPOINT ["dumb-init"]
CMD "/srv/startup.sh"