mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
Add bash ti image
This commit is contained in:
parent
f919e97446
commit
c0fab4aef3
@ -8,6 +8,7 @@ ENV FLASK_APP=opaque.py
|
||||
|
||||
|
||||
RUN apk add \
|
||||
bash \
|
||||
build-base \
|
||||
git \
|
||||
postgresql-dev
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user