cloud-redis-container/Dockerfile

11 lines
389 B
Docker
Raw Normal View History

2023-04-11 17:22:32 +00:00
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" ]