fix integration test run?
This commit is contained in:
parent
064e34c2ba
commit
d9462282e1
1 changed files with 10 additions and 1 deletions
|
|
@ -28,10 +28,19 @@ ghcr.io/hoytech/strfry:latest
|
|||
rm -Rf lnbits_itest_data
|
||||
unzip data.zip
|
||||
|
||||
id=$(id -u)
|
||||
gid=$(id -g)
|
||||
|
||||
if [ "$(whoami)" == "root" ]; then
|
||||
id=1000
|
||||
gid=1000
|
||||
fi
|
||||
|
||||
|
||||
docker run --name=lnbits_nwcprovider_ext_lnbits_test \
|
||||
-d \
|
||||
--rm \
|
||||
--user $(id -u):$(id -g) \
|
||||
--user $id:$gid \
|
||||
-p 5002:5000 \
|
||||
-v ${PWD}/.env:/app/.env \
|
||||
-v ${PWD}/lnbits_itest_data/:/data \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue