Name108 commited on
Commit
b4801e3
·
verified ·
1 Parent(s): 7a132fa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -12
Dockerfile CHANGED
@@ -1,19 +1,14 @@
1
- # Use a base image with Python
2
  FROM python:3.9
3
 
4
- # Set the working directory
5
  WORKDIR /app
6
 
7
- # Copy all files into the container
8
- COPY . .
9
 
10
- # Install any required Python dependencies
11
- # In this case, we don't need to install anything special for the simple HTTP server
12
- # but if EchoAudio.py had dependencies, they would go in requirements.txt
13
- # RUN pip install --no-cache-dir -r requirements.txt
14
 
15
- # The port that Hugging Face Spaces will map to the public URL
16
- EXPOSE 7860
17
 
18
- # The command to run the new entry point script
19
- CMD ["python", "app.py"]
 
 
1
  FROM python:3.9
2
 
 
3
  WORKDIR /app
4
 
5
+ COPY requirements.txt .
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
 
8
+ COPY EchoAudio.py .
9
+ COPY client.html .
10
+ COPY app.py .
 
11
 
12
+ EXPOSE 7860
 
13
 
14
+ CMD ["python", "EchoAudio.py"]