From: tierno Date: Fri, 30 Aug 2019 15:21:05 +0000 (+0000) Subject: fix Dockerfile local to use osm_lcm as a module X-Git-Tag: v6.0.3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=f6f400b4271d27f4a55a3f736c61a52319e2deb0;p=osm%2FLCM.git fix Dockerfile local to use osm_lcm as a module Change-Id: I9dd213143e62466edb4d81fe224c348606b40e17 Signed-off-by: tierno --- diff --git a/Dockerfile.local b/Dockerfile.local index 00f0402c..e488291d 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -16,7 +16,7 @@ FROM ubuntu:16.04 # Set the working directory to /app -WORKDIR /app/LCM/osm_lcm +WORKDIR /app/LCM RUN apt-get update && apt-get install -y git tox python3 \ python3-pip python3-aiohttp python3-jinja2 \ @@ -84,7 +84,7 @@ ENV OSMLCM_GLOBAL_LOGLEVEL DEBUG ADD . /app/LCM # Run app.py when the container launches -CMD ["python3", "lcm.py"] +CMD python3 -m osm_lcm.lcm # HEALTHCHECK --interval=120s --timeout=15s --retries=1 \ -# CMD python3 lcm.py --health-check || exit 1 +# CMD python3 -m osm_lcm.lcm --health-check || exit 1