Files
redis/Dockerfile
2025-01-04 20:20:38 +00:00

7 lines
250 B
Docker

FROM alpine:latest
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 /config/redis.conf"]