From: garciadeblas Date: Mon, 31 May 2021 13:39:04 +0000 (+0200) Subject: Update Dockerfile.local to work with cloned common and N2VC X-Git-Tag: release-v11.0-start~7 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FLCM.git;a=commitdiff_plain;h=f31b66d93cf8183a02f3a4e0e92ea1a8c6b4a9b4 Update Dockerfile.local to work with cloned common and N2VC Change-Id: I7bc5c2b551c52c2c0d3455deabe02412872ff162 Signed-off-by: garciadeblas --- diff --git a/Dockerfile.local b/Dockerfile.local index 737caad..d57235b 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -54,6 +54,10 @@ RUN git -C /app clone https://osm.etsi.org/gerrit/osm/common.git \ && python3 -m pip install -e /app/common # python3-pymongo python3-yaml pycrypto aiokafka +RUN python3 -m pip install \ + -r /app/common/requirements.txt \ + -r /app/N2VC/requirements.txt + RUN python3 -m pip install grpcio-tools grpclib RUN mkdir -p /app/storage/kafka && mkdir -p /app/log @@ -125,6 +129,9 @@ ENV OSMLCM_GLOBAL_LOGLEVEL DEBUG # Copy the current directory contents into the container at /app/LCM ADD . /app/LCM +RUN python3 -m pip install \ + -r requirements.txt + # Run app.py when the container launches CMD python3 -m osm_lcm.lcm