Adds simple Python to wait for Redis broker to be ready (with minor Dockerfile improvements)

This commit is contained in:
Trenton Holmes
2022-04-23 14:40:56 -07:00
committed by Trenton Holmes
parent f9194bd28c
commit 2407798d2e
3 changed files with 54 additions and 0 deletions

View File

@@ -138,6 +138,8 @@ RUN set -eux \
&& chmod 755 /sbin/docker-entrypoint.sh \
&& cp docker-prepare.sh /sbin/docker-prepare.sh \
&& chmod 755 /sbin/docker-prepare.sh \
&& cp wait-for-redis.py /sbin/wait-for-redis.py \
&& chmod 755 /sbin/wait-for-redis.py \
&& chmod +x install_management_commands.sh \
&& ./install_management_commands.sh