FROM almalinux/8-base:latest RUN dnf update -y && dnf upgrade -y RUN dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y RUN dnf update -y && dnf upgrade -y RUN dnf install -y redis RUN yum clean all RUN rm /etc/redis.conf COPY ./configs/redis.conf /etc/redis.conf COPY ./scripts/entrypoint.sh / RUN chmod +x /entrypoint.sh ENTRYPOINT [ "/entrypoint.sh" ]