andevs commited on
Commit
c0130bd
·
verified ·
1 Parent(s): b3b68e1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -5
Dockerfile CHANGED
@@ -2,7 +2,6 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies
6
  RUN apt-get update && apt-get install -y \
7
  git \
8
  ffmpeg \
@@ -12,15 +11,11 @@ RUN apt-get update && apt-get install -y \
12
  libglib2.0-0 \
13
  && rm -rf /var/lib/apt/lists/*
14
 
15
- # Copy requirements and install Python packages
16
  COPY requirements.txt .
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
- # Copy application code
20
  COPY app.py .
21
 
22
- # Expose the port
23
  EXPOSE 7860
24
 
25
- # Run the application
26
  CMD ["python", "app.py"]
 
2
 
3
  WORKDIR /app
4
 
 
5
  RUN apt-get update && apt-get install -y \
6
  git \
7
  ffmpeg \
 
11
  libglib2.0-0 \
12
  && rm -rf /var/lib/apt/lists/*
13
 
 
14
  COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
 
17
  COPY app.py .
18
 
 
19
  EXPOSE 7860
20
 
 
21
  CMD ["python", "app.py"]