fix 1015. move health check to other module to avoid import unneeded libraries
[osm/LCM.git] / Dockerfile.local
index cf18280..36c6710 100644 (file)
@@ -116,5 +116,6 @@ ADD . /app/LCM
 # Run app.py when the container launches
 CMD python3 -m osm_lcm.lcm
 
-# HEALTHCHECK --interval=120s --timeout=15s --retries=1 \
-#     CMD python3 -m osm_lcm.lcm --health-check || exit 1
+# HEALTHCHECK --start-period=120s --interval=30s --timeout=30s --retries=1 \
+#   CMD python3 -m osm_lcm.lcm_hc  || exit 1
+