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