Echo-ai commited on
Commit
2c8a977
·
verified ·
1 Parent(s): 2d67a59

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -8,8 +8,8 @@ RUN apt-get update && apt-get install -y \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
  # Download the code and requirements from Hugging Face
11
- RUN wget -O edge_tts-api.py "https://huggingface.co/datasets/gefiwek187/realtime-api/resolve/main/edge_tts-api.py" \
12
- && wget -O requirements.txt "https://huggingface.co/datasets/gefiwek187/realtime-api/resolve/main/edge-tts-requirements.txt"
13
 
14
  # Install Python dependencies
15
  RUN pip install --no-cache-dir -r requirements.txt
@@ -19,4 +19,4 @@ RUN mkdir -p /app/audio_files && chmod -R 777 /app/audio_files
19
 
20
  EXPOSE 7860
21
 
22
- CMD ["uvicorn", "edge_tts-api:app", "--host", "0.0.0.0", "--port", "7860"]
 
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
  # Download the code and requirements from Hugging Face
11
+ RUN wget -O api.py "https://huggingface.co/datasets/gefiwek187/realtime-api/resolve/main/etts-api.py" \
12
+ && wget -O requirements.txt "https://huggingface.co/datasets/gefiwek187/realtime-api/resolve/main/erequirements.txt"
13
 
14
  # Install Python dependencies
15
  RUN pip install --no-cache-dir -r requirements.txt
 
19
 
20
  EXPOSE 7860
21
 
22
+ CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]