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
RUN apk update && apk upgrade
RUN apk add bash
RUN apk add autoconf
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
RUN apk update && apk upgrade && apk add bash autoconf automake make gcc g++ redis
RUN mkdir /config
COPY redis/redis.conf /config/redis.conf
EXPOSE 6379
STOPSIGNAL SIGTERM
CMD ["/bin/bash", "-c", "redis-server /etc/redis.conf"]
CMD ["/bin/bash", "-c", "redis-server /config/redis.conf"]