Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +7 -7
Dockerfile
CHANGED
|
@@ -4,15 +4,15 @@ FROM python:3.9
|
|
| 4 |
# Set the working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
-
# Copy the
|
| 8 |
-
COPY
|
| 9 |
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
|
| 15 |
-
|
| 16 |
|
| 17 |
# Expose the port your server will run on (usually 7860 for Hugging Face Spaces)
|
| 18 |
EXPOSE 7860
|
|
|
|
| 4 |
# Set the working directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Copy the requirements file into the container
|
| 8 |
+
COPY requirements.txt .
|
| 9 |
|
| 10 |
+
# Install any required Python dependencies
|
| 11 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
+
# Copy the rest of your application files
|
| 14 |
+
COPY EchoAudio.py .
|
| 15 |
+
COPY client.html .
|
| 16 |
|
| 17 |
# Expose the port your server will run on (usually 7860 for Hugging Face Spaces)
|
| 18 |
EXPOSE 7860
|