Skip to content
Snippets Groups Projects
pycif-tests.Dockerfile 517 B
Newer Older
# Build a Docker image that contains pyCIF and all requirements.
#FROM pycif/pycif-debug:0.1
FROM pycif-test

RUN apt-get install -y python-yaml

RUN pip install pytest pytest-html pyyaml

COPY ./ /tmp/CIF

RUN cd /tmp/CIF/ \
    && python setup.py develop --user -u \
    && python setup.py develop --user

RUN cd /tmp/CIF/bin \
    && ./pycif_test.sh

#RUN cd /tmp/CIF/config_files/tuto_chimere/ \
#    && python -m pycif config_chimere_fwd_academic_onespec.yml;
#RUN cd /tmp/CIF/ \
#    && tox -e py36 -e coverage