Adding NSI operations (Create, Read, Delete)
[osm/NBI.git] / Dockerfile.local
index da13878..0d2a3d6 100644 (file)
@@ -6,7 +6,7 @@ FROM ubuntu:16.04
 WORKDIR /app/NBI/osm_nbi
 
 # Copy the current directory contents into the container at /app
 WORKDIR /app/NBI/osm_nbi
 
 # Copy the current directory contents into the container at /app
-ADD . /app/NBI
+#ADD . /app
 
 RUN apt-get update && apt-get install -y git python3 python3-jsonschema \
     python3-pymongo python3-yaml python3-pip python3-keystoneclient \
 
 RUN apt-get update && apt-get install -y git python3 python3-jsonschema \
     python3-pymongo python3-yaml python3-pip python3-keystoneclient \
@@ -80,6 +80,8 @@ ENV OSMNBI_AUTHENTICATION_BACKEND               internal
 #ENV OSMNBI_AUTHENTICATION_SERVICE_PASSWORD      nbi
 #ENV OSMNBI_AUTHENTICATION_SERVICE_PROJECT       service
 
 #ENV OSMNBI_AUTHENTICATION_SERVICE_PASSWORD      nbi
 #ENV OSMNBI_AUTHENTICATION_SERVICE_PROJECT       service
 
+ADD . /app/NBI
+
 # Run app.py when the container launches
 CMD ["python3", "nbi.py"]
 
 # Run app.py when the container launches
 CMD ["python3", "nbi.py"]