Fix the docker app config mount issue and installation
[pti/o2.git] / Dockerfile
index 8c33fbe..989e9d4 100644 (file)
@@ -15,6 +15,8 @@ RUN pip install -e /distcloud-client/distributedcloud-client
 # in case git repo is not accessable
 
 # RUN git clone --depth 1 --branch master https://github.com/cloudify-incubator/cloudify-helm-plugin.git /helmsdk
+RUN git clone --depth 1 --branch master https://opendev.org/starlingx/fault.git /faultclient
+RUN pip install -e /faultclient/python-fmclient/fmclient/
 
 
 COPY requirements.txt /tmp/
@@ -34,6 +36,12 @@ COPY o2ims/ /src/o2ims/
 COPY o2dms/ /src/o2dms/
 COPY o2common/ /src/o2common/
 
+RUN mkdir -p /src/helm_sdk/
+COPY helm_sdk/ /src/helm_sdk/
+
+RUN mkdir -p /configs/
+COPY configs/ /configs/
+
 RUN mkdir -p /src/o2app/
 COPY o2app/ /src/o2app/
 COPY setup.py /src/