From: subhash kumar singh Date: Fri, 18 Oct 2024 12:26:35 +0000 (+0000) Subject: Update the entrypoint to start app X-Git-Tag: 3.0.0~62^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=edf566cfce0028e290308da2f26f2790a3f1d9b5;p=aiml-fw%2Fawmf%2Ftm.git Update the entrypoint to start app Dockerfile updated to execute the app on start. Change-Id: Ifb7fefebeabff7e798ecde39299df81e3870e36b Signed-off-by: subhash kumar singh --- diff --git a/Dockerfile b/Dockerfile index b18ea00..b41b81b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ FROM python:3.10 # location in the container -ENV TA_DIR /home/app/ +ENV TA_DIR /home/app WORKDIR ${TA_DIR} # Install dependencies @@ -37,6 +37,9 @@ RUN pip3 install /SDK/modelmetricssdk_main/. RUN pip3 install . RUN pip3 install -r requirements.txt +WORKDIR ${TA_DIR}/trainingmgr + +CMD ["python3", "trainingmgr_main.py"] #Expose the ports EXPOSE 5050