fix Dockerfile local to use osm_lcm as a module 91/7891/1 v6.0.2 v6.0.2rc1 v6.0.3
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 30 Aug 2019 15:21:05 +0000 (15:21 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 30 Aug 2019 15:21:05 +0000 (15:21 +0000)
Change-Id: I9dd213143e62466edb4d81fe224c348606b40e17
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Dockerfile.local

index 00f0402..e488291 100644 (file)
@@ -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