server/facade: integrated elasticsearch wait into entrypoint

This commit is contained in:
Shyam Sunder
2019-09-21 14:22:07 -04:00
parent fa3b6275b3
commit dd56c287b5
3 changed files with 3 additions and 34 deletions

View File

@ -25,7 +25,6 @@ RUN \
echo "#!/bin/sh" >> /init && \
echo "set -e" >> /init && \
echo "cd /opt/app" >> /init && \
echo "./wait-for-es" >> /init && \
echo "alembic upgrade head" >> /init && \
echo "exec waitress-serve --port ${PORT} szurubooru.facade:app" \
>> /init && \