Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
|
@@ -6,8 +6,12 @@ WORKDIR /code
|
|
| 6 |
# Install dependencies
|
| 7 |
COPY requirements.txt .
|
| 8 |
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
# Expose port 7860 (required by Hugging Face)
|
| 13 |
EXPOSE 7860
|
|
|
|
| 6 |
# Install dependencies
|
| 7 |
COPY requirements.txt .
|
| 8 |
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
|
| 9 |
+
|
| 10 |
+
# Copy ALL files (including app.sh)
|
| 11 |
+
COPY . .
|
| 12 |
+
|
| 13 |
+
# Make app.sh executable
|
| 14 |
+
RUN chmod +x app.sh
|
| 15 |
|
| 16 |
# Expose port 7860 (required by Hugging Face)
|
| 17 |
EXPOSE 7860
|