2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-11-10 13:10:37 +00:00
pyentrypoint/Dockerfile.py3
Christophe Mehay 4a01020efd pre-test
2015-12-15 08:56:17 +01:00

18 lines
338 B
Python

# Testing with python 3
FROM python:3
RUN pip3 install pytest twiggy six pyyaml jinja2
ENV PYTHONPATH /opt/pyentrypoint/
ADD pyentrypoint /opt/pyentrypoint/
ADD tests /opt/pyentrypoint/tests
ADD tests/entrypoint-config.yml /opt/pyentrypoint/
ADD tests/test_template /tmp/tests
WORKDIR /opt/pyentrypoint/
CMD ["py.test", "-s", "."]