Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -8,8 +8,11 @@ WORKDIR /app
|
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
| 11 |
-
# Copy
|
| 12 |
-
COPY ./app/main.py ./
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# Expose port 7860 for FastAPI/Gradio
|
| 15 |
EXPOSE 7860
|
|
|
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
|
| 11 |
+
# Copy main.py directly to /app/main.py
|
| 12 |
+
COPY ./app/main.py ./main.py
|
| 13 |
+
|
| 14 |
+
# Verify files in /app
|
| 15 |
+
RUN ls -R /app
|
| 16 |
|
| 17 |
# Expose port 7860 for FastAPI/Gradio
|
| 18 |
EXPOSE 7860
|