Dockerfile_Redis aktualisiert
Some checks failed
release-tag / release-image (push) Has been cancelled

This commit is contained in:
2025-01-04 17:47:51 +00:00
parent 5b53aa9eeb
commit 97ddb1855e

View File

@@ -1,13 +1,7 @@
FROM alpine:latest FROM alpine:latest
RUN apk update && apk upgrade RUN apk update && apk upgrade && apk add bash autoconf automake make gcc g++ redis
RUN apk add bash RUN mkdir /config
RUN apk add autoconf COPY redis/redis.conf /config/redis.conf
RUN apk add automake
RUN apk add make
RUN apk add gcc
RUN apk add g++
RUN apk add redis
COPY redis/redis.conf /etc/redis.conf
EXPOSE 6379 EXPOSE 6379
STOPSIGNAL SIGTERM STOPSIGNAL SIGTERM
CMD ["/bin/bash", "-c", "redis-server /etc/redis.conf"] CMD ["/bin/bash", "-c", "redis-server /config/redis.conf"]