Update the entrypoint to start app 66/13666/1
authorsubhash kumar singh <subh.singh@samsung.com>
Fri, 18 Oct 2024 12:26:35 +0000 (12:26 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Fri, 18 Oct 2024 12:26:35 +0000 (12:26 +0000)
Dockerfile updated to execute the app on start.

Change-Id: Ifb7fefebeabff7e798ecde39299df81e3870e36b
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Dockerfile

index b18ea00..b41b81b 100644 (file)
@@ -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