mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-12 11:15:04 +02:00
21 lines
310 B
Docker
21 lines
310 B
Docker
#
|
|
# Dockerfile for redis-arm
|
|
#
|
|
|
|
FROM easypi/alpine-arm
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
RUN apk add --no-cache redis
|
|
|
|
WORKDIR /data
|
|
VOLUME /data
|
|
|
|
EXPOSE 6379
|
|
|
|
ENTRYPOINT ["redis-server", "--protected-mode", "no"]
|
|
CMD [ \
|
|
"--save", "900", "1", \
|
|
"--save", "300", "10", \
|
|
"--save", "60", "10000" \
|
|
]
|