Add Dockerfile for running the unittests
Build the docker with the command docker build -f test/Dockerfile -t precise-test .pull/139/head
parent
2a15272ba3
commit
a99d229b0c
|
@ -0,0 +1,10 @@
|
|||
FROM python:3.7-slim
|
||||
ENV TERM linux
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && apt-get -y install git python3-scipy cython libhdf5-dev python3-h5py portaudio19-dev swig libpulse-dev libatlas-base-dev
|
||||
ADD . mycroft-precise
|
||||
WORKDIR mycroft-precise
|
||||
RUN pip install .
|
||||
RUN pip install pytest
|
||||
ENV PYTHONPATH /mycroft-precise
|
||||
ENTRYPOINT ["pytest"]
|
Loading…
Reference in New Issue