Phoe2004 commited on
Commit
dd329d2
·
verified ·
1 Parent(s): 3c99608

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -13
Dockerfile CHANGED
@@ -1,12 +1,7 @@
1
  FROM python:3.11-slim
2
 
3
- # Install system dependencies including Deno
4
  RUN apt-get update && apt-get install -y --no-install-recommends \
5
  ffmpeg \
6
- git \
7
- curl \
8
- unzip \
9
- ca-certificates \
10
  && curl -fsSL https://deno.land/install.sh | sh \
11
  && rm -rf /var/lib/apt/lists/*
12
 
@@ -15,17 +10,10 @@ ENV PATH="$DENO_INSTALL/bin:$PATH"
15
 
16
  WORKDIR /app
17
 
18
- # Install Python packages
19
  COPY requirements.txt .
20
  RUN pip install --no-cache-dir -r requirements.txt
 
21
 
22
- # Install yt-dlp with all extras
23
- RUN pip install --no-cache-dir -U "yt-dlp[default,curl-cffi]"
24
-
25
- # Create directories
26
- RUN mkdir -p downloads logs
27
-
28
- # Copy app
29
  COPY app.py .
30
  COPY cookies.txt .
31
 
 
1
  FROM python:3.11-slim
2
 
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends \
4
  ffmpeg \
 
 
 
 
5
  && curl -fsSL https://deno.land/install.sh | sh \
6
  && rm -rf /var/lib/apt/lists/*
7
 
 
10
 
11
  WORKDIR /app
12
 
 
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
15
+ RUN pip install --no-cache-dir -U yt-dlp
16
 
 
 
 
 
 
 
 
17
  COPY app.py .
18
  COPY cookies.txt .
19