Skip to content

Commit be0e694

Browse files
committed
Fix dockerfiles
1 parent f159589 commit be0e694

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docker/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ COPY ./kglab /opt/kglab/kglab
3737
COPY ./dat /opt/kglab/dat
3838
COPY ./examples /opt/kglab/examples
3939
COPY ./requirements*.txt /opt/kglab/
40-
COPY ./test.py /opt/kglab/
4140
COPY ./sample.py /opt/kglab/
4241

4342
## create a known user ID

docker/testsuite.Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ COPY ./kglab /opt/kglab/kglab
3737
COPY ./dat /opt/kglab/dat
3838
COPY ./examples /opt/kglab/examples
3939
COPY ./requirements*.txt /opt/kglab/
40-
COPY ./test.py /opt/kglab/
40+
COPY ./tests/ /opt/kglab/tests/
4141
COPY ./sample.py /opt/kglab/
4242

4343
## create a known user ID
@@ -70,4 +70,4 @@ RUN set -eux; \
7070
source /opt/kglab/venv/bin/activate ; \
7171
/opt/kglab/venv/bin/python3.8 -m pip install -r /opt/kglab/requirements-dev.txt
7272

73-
CMD /opt/kglab/venv/bin/python3.8 /opt/kglab/test.py
73+
CMD /opt/kglab/venv/bin/python3.8 -m pytest tests/

0 commit comments

Comments
 (0)