Upload folder using huggingface_hub
Browse files- Dockerfile +4 -0
- requirements.txt +1 -0
Dockerfile
CHANGED
|
@@ -14,6 +14,10 @@ COPY app.py .
|
|
| 14 |
|
| 15 |
# Create non-root user for security
|
| 16 |
RUN useradd -m -u 1000 user
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
USER user
|
| 18 |
|
| 19 |
# Expose port 7860 (HuggingFace Spaces default)
|
|
|
|
| 14 |
|
| 15 |
# Create non-root user for security
|
| 16 |
RUN useradd -m -u 1000 user
|
| 17 |
+
|
| 18 |
+
# Create marimo cache directory with correct permissions
|
| 19 |
+
RUN mkdir -p /app/__marimo__ && chown -R user:user /app
|
| 20 |
+
|
| 21 |
USER user
|
| 22 |
|
| 23 |
# Expose port 7860 (HuggingFace Spaces default)
|
requirements.txt
CHANGED
|
@@ -2,3 +2,4 @@ marimo>=0.10.0
|
|
| 2 |
pandas>=2.0.0
|
| 3 |
inspect-ai>=0.3.0
|
| 4 |
huggingface-hub>=0.20.0
|
|
|
|
|
|
| 2 |
pandas>=2.0.0
|
| 3 |
inspect-ai>=0.3.0
|
| 4 |
huggingface-hub>=0.20.0
|
| 5 |
+
pyarrow>=14.0.0
|