2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-11-10 13:10:37 +00:00
pyentrypoint/Dockerfile.py3
2016-01-25 12:11:50 +01:00

18 lines
358 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.yml.tpl /tmp/test_template.yml
WORKDIR /opt/pyentrypoint/
CMD ["py.test", "-s", "."]