From: SANDEEP KUMAR JAISAWAL Date: Fri, 4 Nov 2022 09:05:33 +0000 (+0530) Subject: Coping all the fils from current location to pod location X-Git-Tag: 1.0.0~26 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=e2b06c524d7c7378cc3e2b85a23c95ccd631da26;p=aiml-fw%2Fawmf%2Ftm.git Coping all the fils from current location to pod location Issue-id: AIMLWF-2 Signed-off-by: SANDEEP KUMAR JAISAWAL Change-Id: I515f38ac802d3640739978831b1107e04d3a65e2 --- diff --git a/Dockerfile b/Dockerfile index acc8282..d40cf05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,16 +20,14 @@ FROM python:3.8 # location in the container ENV TA_DIR /home/app/ +WORKDIR ${TA_DIR} # Install dependencies RUN apt-get update && apt-get install -y \ python3-pip RUN apt-get install -y apt-utils - # Copy sources into the container -COPY tm/ ${TA_DIR}/tm -COPY tm/requirements.txt ${TA_DIR} -WORKDIR ${TA_DIR} +COPY . . RUN pip3 install . RUN pip3 install -r requirements.txt