From 2b82991a51ddfcf1c9848f61266612e57524e630 Mon Sep 17 00:00:00 2001 From: tierno Date: Fri, 30 Aug 2019 15:21:05 +0000 Subject: [PATCH] fix Dockerfile local to use osm_lcm as a module Change-Id: I9dd213143e62466edb4d81fe224c348606b40e17 Signed-off-by: tierno --- Dockerfile.local | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.local b/Dockerfile.local index 00f0402..e488291 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 -- 2.25.1