We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 563200b commit 5609fd2Copy full SHA for 5609fd2
docker/Dockerfile
@@ -0,0 +1,21 @@
1
+#Import python runtime with desired python version
2
+FROM python:3-slim
3
+
4
+#Install Git
5
+RUN apt-get update && \
6
+ apt-get install -y git
7
8
+#Clone SDK repo to app directory
9
+RUN git clone https://github.com/watson-developer-cloud/python-sdk.git
10
11
+#Set working directory to python-sdk
12
+WORKDIR /python-sdk
13
14
+#Pip install dependencies for SDK
15
+RUN pip install --editable .
16
+RUN pip install -r requirements-dev.txt
17
18
+#Run tests to validate installation
19
+CMD [ "py.test" , "test" ]
20
21
0 commit comments