Move to the python:alpine docker image

- Remove `function` keyword, unsupported in shell
This commit is contained in:
Bruno Alla 2018-02-05 19:21:44 +00:00
parent a50aa17f70
commit 417517bfa6

View File

@ -25,7 +25,7 @@ export DATABASE_URL=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/$
export CELERY_BROKER_URL=$REDIS_URL/0
{% endif %}
function postgres_ready(){
postgres_ready() {
python << END
import sys
import psycopg2