Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -59,9 +59,8 @@ COPY app.py ./app.py
|
|
| 59 |
# Create examples directory
|
| 60 |
RUN mkdir -p /app/example_images
|
| 61 |
|
| 62 |
-
#
|
| 63 |
-
|
| 64 |
-
COPY example_images/*.png /app/example_images/ 2>/dev/null || true
|
| 65 |
|
| 66 |
# Make sure the runtime directories exist and have proper permissions
|
| 67 |
RUN mkdir -p .cache/huggingface/transformers && \
|
|
|
|
| 59 |
# Create examples directory
|
| 60 |
RUN mkdir -p /app/example_images
|
| 61 |
|
| 62 |
+
# We're not copying example images as they may not exist
|
| 63 |
+
# and Docker build will fail if the source doesn't exist
|
|
|
|
| 64 |
|
| 65 |
# Make sure the runtime directories exist and have proper permissions
|
| 66 |
RUN mkdir -p .cache/huggingface/transformers && \
|