Spaces:
Runtime error
Runtime error
Commit
·
272adee
1
Parent(s):
38a541d
added all folder copy
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -8,8 +8,8 @@ ENV PYTHONUNBUFFERED=1
|
|
| 8 |
# Set working directory
|
| 9 |
WORKDIR /app
|
| 10 |
|
| 11 |
-
# Copy
|
| 12 |
-
COPY
|
| 13 |
|
| 14 |
# RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
| 15 |
|
|
@@ -18,9 +18,6 @@ RUN pip install --upgrade pip
|
|
| 18 |
# Install Gradio with MCP support
|
| 19 |
RUN pip install -r requirements.txt
|
| 20 |
|
| 21 |
-
# Copy application code into container
|
| 22 |
-
COPY app.py .
|
| 23 |
-
|
| 24 |
# Expose Gradio’s default port
|
| 25 |
EXPOSE 7860
|
| 26 |
|
|
|
|
| 8 |
# Set working directory
|
| 9 |
WORKDIR /app
|
| 10 |
|
| 11 |
+
# Copy everything from the current directory to the working directory in the container
|
| 12 |
+
COPY . .
|
| 13 |
|
| 14 |
# RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
| 15 |
|
|
|
|
| 18 |
# Install Gradio with MCP support
|
| 19 |
RUN pip install -r requirements.txt
|
| 20 |
|
|
|
|
|
|
|
|
|
|
| 21 |
# Expose Gradio’s default port
|
| 22 |
EXPOSE 7860
|
| 23 |
|