mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +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 \
|
RUN apk add \
|
||||||
|
bash \
|
||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
postgresql-dev
|
postgresql-dev
|
||||||
|
@ -40,6 +40,7 @@ services:
|
|||||||
- ../opaque_daemon/opaque_daemon.py:/home/opaque_daemon/opaque_daemon.py
|
- ../opaque_daemon/opaque_daemon.py:/home/opaque_daemon/opaque_daemon.py
|
||||||
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
|
- $HOME/.docker/config.json:/home/opaque_daemon/.docker/config.json
|
||||||
- ../opaque_daemon/config.ini:/home/opaque_daemon/config.ini
|
- ../opaque_daemon/config.ini:/home/opaque_daemon/config.ini
|
||||||
|
- ./docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh
|
||||||
db:
|
db:
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/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 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
venv/bin/python -u opaque.py
|
venv/bin/python -u opaque.py
|
||||||
|
Loading…
Reference in New Issue
Block a user