projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug 828 inject VCA key only when vnf/vdu-configuration:config-access:ssh-access:requi...
[osm/LCM.git]
/
Dockerfile.local
diff --git
a/Dockerfile.local
b/Dockerfile.local
index
00f0402
..
e488291
100644
(file)
--- a/
Dockerfile.local
+++ b/
Dockerfile.local
@@
-16,7
+16,7
@@
FROM ubuntu:16.04
# Set the working directory to /app
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 \
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
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 \
# 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