Skip to content
Snippets Groups Projects
pycif-tests.Dockerfile 553 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 \
    && 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

Antoine Berchet's avatar
Antoine Berchet committed
RUN ls -R /tmp/PYCIF_DATA_TEST

#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