1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:15:04 +02:00
dockerfiles/redis/arm/Dockerfile

21 lines
310 B
Docker
Raw Normal View History

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