From 1100c66ce03a059ebe7ece9734e799b49b3a5a9e Mon Sep 17 00:00:00 2001 From: WuKong Date: Sat, 23 Dec 2017 21:49:35 +0100 Subject: moonv4 cleanup Change-Id: Icef927f3236d985ac13ff7376f6ce6314b2b39b0 Signed-off-by: WuKong --- templates/python_unit_test/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/python_unit_test/Dockerfile (limited to 'templates/python_unit_test/Dockerfile') diff --git a/templates/python_unit_test/Dockerfile b/templates/python_unit_test/Dockerfile new file mode 100644 index 00000000..b8fb5151 --- /dev/null +++ b/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 -- cgit 1.2.3-korg