Spaces:
Sleeping
Sleeping
Commit
·
2fafc02
1
Parent(s):
c129746
Update bot detection model and features
Browse files- Dockerfile +13 -0
- requirements.txt +3 -3
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY requirements.txt .
|
| 6 |
+
RUN pip install --upgrade pip
|
| 7 |
+
RUN pip install -r requirements.txt
|
| 8 |
+
|
| 9 |
+
COPY app.py .
|
| 10 |
+
|
| 11 |
+
EXPOSE 8501
|
| 12 |
+
|
| 13 |
+
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
requirements.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
streamlit==1.53.0
|
| 2 |
pandas==2.3.3
|
| 3 |
-
numpy
|
| 4 |
-
scikit-learn
|
| 5 |
-
joblib
|
| 6 |
plotly==5.24.1
|
|
|
|
| 1 |
streamlit==1.53.0
|
| 2 |
pandas==2.3.3
|
| 3 |
+
numpy>=2.1.0
|
| 4 |
+
scikit-learn>=1.5.2
|
| 5 |
+
joblib>=1.4.2
|
| 6 |
plotly==5.24.1
|