we will mount the folder in the container so no need to copy all
This commit is contained in:
@@ -6,7 +6,8 @@ RUN apt-get update && apt-get install -y ffmpeg curl && \
|
|||||||
chmod a+rx /usr/local/bin/yt-dlp
|
chmod a+rx /usr/local/bin/yt-dlp
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY backend/requirements.txt .
|
||||||
RUN pip install -r backend/requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
RUN rm requirements.txt
|
||||||
|
|
||||||
CMD ["python", "backend/main.py"]
|
CMD ["python", "backend/main.py"]
|
||||||
Reference in New Issue
Block a user