stupid copying things into docker

pull/73/head
Christopher Usher 5 years ago
parent 027c2900e2
commit 2f9da30056

@ -17,10 +17,7 @@ if [ "$(wc -l <<<"$CONTAINER")" -ne 1 ]; then
exit 1
fi
#need to do this in case db dump file has a colon in it
cp "$1" tmp.sql
docker cp tmp.sql "$CONTAINER:/"
rm tmp.sql
docker cp "./$1" "$CONTAINER:/tmp.sql"
# this will fail if there are active sessions by users other than 'postgres'
# make sure all wubloader components are disconnected

Loading…
Cancel
Save