1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

fix redis-arm

This commit is contained in:
kev 2016-01-16 12:08:37 +08:00
parent 6c8b38b756
commit 0bde4f5c9f

View File

@ -10,8 +10,9 @@ RUN set -ex \
&& sed -i 's/^daemonize yes/daemonize no/' /etc/redis.conf \
&& rm -rf /var/cache/apk/*
WORKDIR /var/lib/redis/
VOLUME /var/lib/redis/
EXPOSE 6379
CMD ["redis-server"]
CMD ["redis-server", "/etc/redis.conf"]