Skip to content

Commit a99d229

Browse files
committed
Add Dockerfile for running the unittests
Build the docker with the command docker build -f test/Dockerfile -t precise-test .
1 parent 2a15272 commit a99d229

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM python:3.7-slim
2+
ENV TERM linux
3+
ENV DEBIAN_FRONTEND noninteractive
4+
RUN apt-get update && apt-get -y install git python3-scipy cython libhdf5-dev python3-h5py portaudio19-dev swig libpulse-dev libatlas-base-dev
5+
ADD . mycroft-precise
6+
WORKDIR mycroft-precise
7+
RUN pip install .
8+
RUN pip install pytest
9+
ENV PYTHONPATH /mycroft-precise
10+
ENTRYPOINT ["pytest"]

0 commit comments

Comments
 (0)