Name108 commited on
Commit
f4bdb03
·
verified ·
1 Parent(s): 5ccd649

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a base image with Python
2
+ FROM python:3.9
3
+
4
+ # Set the working directory
5
+ WORKDIR /app
6
+
7
+ # Copy the server file into the container
8
+ COPY EchoAudio.py .
9
+
10
+ # Copy the client file into the container
11
+ COPY client.html .
12
+
13
+ # Install any required Python dependencies (if your server.py uses any)
14
+ # For example, if it uses Flask or FastAPI
15
+ # RUN pip install flask
16
+
17
+ # Expose the port your server will run on (usually 7860 for Hugging Face Spaces)
18
+ EXPOSE 7860
19
+
20
+ # Command to run your server
21
+ CMD ["python", "EchoAudio.py"]