From 6737897b35e37170864d55677aa62edda35ffd29 Mon Sep 17 00:00:00 2001 From: NASEEM A P Date: Sun, 22 Sep 2024 09:13:59 +0530 Subject: [PATCH] updated clone repo to copy --- Dockerfile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 854c80e..fc41397 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,15 @@ FROM ubuntu:20.04 ARG DEBIAN_FRONTEND=noninteractive +COPY . /App RUN apt-get update && \ - apt-get install -y \ - python3 \ - python3-pip \ - ffmpeg \ - libsm6 \ - libxext6 \ - git -RUN git clone https://github.com/naseemap47/streamlit-yolo.git App +apt-get install -y \ +python3 \ +python3-pip \ +ffmpeg \ +libsm6 \ +libxext6 \ +git WORKDIR /App +RUN cd streamlit-yolo RUN pip install -r requirements.txt CMD [ "streamlit", "run", "app.py" ] \ No newline at end of file