Add bash ti image

This commit is contained in:
Stephan Porada 2019-10-23 14:42:23 +02:00
parent f919e97446
commit c0fab4aef3
3 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ ENV FLASK_APP=opaque.py
RUN apk add \
bash \
build-base \
git \
postgresql-dev

View File

@ -40,6 +40,7 @@ services:
- ../opaque_daemon/opaque_daemon.py:/home/opaque_daemon/opaque_daemon.py
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
- ../opaque_daemon/config.ini:/home/opaque_daemon/config.ini
- ./docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
db:
deploy:
placement:

View File

@ -1,6 +1,6 @@
#!/bin/sh
/wait-for-it/wait-for-it.sh db:5432 --strict --timeout=0
./wait-for-it/wait-for-it.sh db:5432 --strict --timeout=0
if [ $# -eq 0 ]
then
venv/bin/python -u opaque.py