diff options
author | RHE <rebirthmonkey@gmail.com> | 2017-12-01 16:42:57 +0100 |
---|---|---|
committer | RHE <rebirthmonkey@gmail.com> | 2017-12-01 16:42:57 +0100 |
commit | c47f1f819cd81efa3c7f9bc64cda30d337730210 (patch) | |
tree | a6cd65fc4c0394bc0b49ac9003d83e31339b8908 /moonv4/templates/python_unit_test/Dockerfile | |
parent | fe8cf8dcabfcd223e8661f3af8ac02f4e6b1e708 (diff) |
create moon python unit test docker image
Change-Id: I91c7103ca046a67c3cefadbd9ca6eca52cfbc0cf
Signed-off-by: RHE <rebirthmonkey@gmail.com>
Diffstat (limited to 'moonv4/templates/python_unit_test/Dockerfile')
-rw-r--r-- | moonv4/templates/python_unit_test/Dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/moonv4/templates/python_unit_test/Dockerfile b/moonv4/templates/python_unit_test/Dockerfile new file mode 100644 index 00000000..b8fb5151 --- /dev/null +++ b/moonv4/templates/python_unit_test/Dockerfile @@ -0,0 +1,8 @@ +FROM python:3 + +RUN pip install pytest requests_mock requests --upgrade +ADD requirements.txt /root +RUN pip install -r /root/requirements.txt --upgrade + +ADD run_tests.sh /root +CMD ["sh", "/root/run_tests.sh"]
\ No newline at end of file |