Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
-
# Use a minimal base image with Python 3.
|
| 2 |
-
FROM python:3.
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Set the working directory inside the container to /app
|
| 5 |
WORKDIR /app
|
|
|
|
| 1 |
+
# Use a minimal base image with Python 3.10 installed (updated from 3.9 for Streamlit compatibility)
|
| 2 |
+
FROM python:3.10
|
| 3 |
+
|
| 4 |
+
# Install system dependencies required for some Python packages (e.g., xgboost, scikit-learn)
|
| 5 |
+
RUN apt-get update && apt-get install -y build-essential libgomp1
|
| 6 |
|
| 7 |
# Set the working directory inside the container to /app
|
| 8 |
WORKDIR /app
|