X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Dockerfile.local;h=372e6a9c26711ed9c23b42144ccadccaa43f58b8;hb=refs%2Fchanges%2F04%2F6904%2F1;hp=70961633d4aac15e078e71c8efe1df159247d1f3;hpb=92c1c7dc36d60f81f029d8045a18eeff25aab461;p=osm%2FNBI.git diff --git a/Dockerfile.local b/Dockerfile.local index 7096163..372e6a9 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -6,7 +6,7 @@ FROM ubuntu:16.04 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 \ @@ -80,6 +80,8 @@ ENV OSMNBI_AUTHENTICATION_BACKEND internal #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"]