1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:17:06 +02:00
dockerfiles/redis/arm/Dockerfile

21 lines
310 B
Docker
Raw Normal View History

2016-01-16 07:54:16 +08:00
#
# Dockerfile for redis-arm
#
2016-07-19 16:34:20 +08:00
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
2016-01-16 07:54:16 +08:00
2017-01-20 01:29:07 +08:00
RUN apk add --no-cache redis
2016-01-16 07:54:16 +08:00
2017-01-20 01:29:07 +08:00
WORKDIR /data
VOLUME /data
2016-01-16 07:54:16 +08:00
EXPOSE 6379
2017-05-10 17:51:40 +08:00
ENTRYPOINT ["redis-server", "--protected-mode", "no"]
CMD [ \
"--save", "900", "1", \
"--save", "300", "10", \
"--save", "60", "10000" \
]