prthm11 commited on
Commit
47f1456
·
verified ·
1 Parent(s): acaee24

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -6
Dockerfile CHANGED
@@ -12,11 +12,12 @@ ENV DEBIAN_FRONTEND=noninteractive \
12
  HF_HOME=/app/cache
13
 
14
  # Copy requirements file and install Python dependencies
15
- COPY requirements.txt requirements.txt
16
- COPY extract_img_pdf.py extract_img_pdf.py
17
- COPY live_streaming_flask.py live_streaming_flask.py
18
- COPY templates/ /app/templates
19
- COPY .env .env
 
20
 
21
  # Install system dependencies
22
  RUN apt-get update && apt-get install -y \
@@ -54,4 +55,5 @@ EXPOSE 7860
54
 
55
  # Set the command to run your Flask app
56
  # CMD ["python", "extract_img_pdf.py"]
57
- CMD ["python", "live_streaming_flask.py"]
 
 
12
  HF_HOME=/app/cache
13
 
14
  # Copy requirements file and install Python dependencies
15
+ # COPY requirements.txt requirements.txt
16
+ # COPY extract_img_pdf.py extract_img_pdf.py
17
+ # COPY live_streaming_flask.py live_streaming_flask.py
18
+ # COPY templates/ /app/templates
19
+ # COPY .env .env
20
+ COPY ..
21
 
22
  # Install system dependencies
23
  RUN apt-get update && apt-get install -y \
 
55
 
56
  # Set the command to run your Flask app
57
  # CMD ["python", "extract_img_pdf.py"]
58
+ # CMD ["python", "live_streaming_flask.py"]
59
+ CMD ["python", "test_streaming.py"]