From da53e6cc8832ff9b3854a88ece44f07254de7ba3 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 8 Feb 2026 15:56:12 +0000 Subject: [PATCH] we will mount the folder in the container so no need to copy all --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f33378f..b1aa99b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,8 @@ RUN apt-get update && apt-get install -y ffmpeg curl && \ chmod a+rx /usr/local/bin/yt-dlp WORKDIR /app -COPY . . -RUN pip install -r backend/requirements.txt +COPY backend/requirements.txt . +RUN pip install -r requirements.txt +RUN rm requirements.txt CMD ["python", "backend/main.py"] \ No newline at end of file