diff --git a/Dockerfile b/Dockerfile index 78c6405..f1dd17d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ COPY --chown=irisowner:irisowner . /home/irisowner/sqlalchemy-iris WORKDIR /home/irisowner/sqlalchemy-iris +ENV PIP_TARGET=/usr/irissys/mgr/python + RUN pip install -r requirements-dev.txt -r requirements-iris.txt && \ pip install -e . diff --git a/test-in-docker.sh b/test-in-docker.sh index dcb49f1..4060e75 100755 --- a/test-in-docker.sh +++ b/test-in-docker.sh @@ -28,11 +28,11 @@ exit_on_error () { iris_start # Test in Network mode -python3 -m pytest +/usr/irissys/bin/irispython -m pytest exit_on_error # Test in Embedded mode -python3 -m pytest --db irisemb +/usr/irissys/bin/irispython -m pytest --db irisemb exit_on_error iris_stop