[database]: Fix ENTRYPOINT for docker-database to ensure redis-server starts as PID 1 (#442)

This commit is contained in:
Joe LeVeque 2017-03-27 15:27:20 -07:00 committed by Shuotian Cheng
parent 8caa4cccd9
commit fcaba688f7

View File

@ -30,4 +30,4 @@ RUN sed -ri 's/^daemonize yes$/daemonize no/;
s/^# unixsocket/unixsocket/ \
' /etc/redis/redis.conf
ENTRYPOINT service redis-server start
ENTRYPOINT ["/usr/bin/redis-server", "/etc/redis/redis.conf"]