Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -10,11 +10,12 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
COPY requirements.txt ./
|
|
|
|
|
|
|
|
|
|
| 13 |
COPY app.py ./src/
|
| 14 |
COPY churn_prediction_model_v1_0.joblib ./
|
| 15 |
|
| 16 |
-
RUN pip3 install -r requirements.txt
|
| 17 |
-
|
| 18 |
EXPOSE 8501
|
| 19 |
|
| 20 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
|
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
COPY requirements.txt ./
|
| 13 |
+
RUN pip3 install -r requirements.txt
|
| 14 |
+
|
| 15 |
+
RUN mkdir -p src
|
| 16 |
COPY app.py ./src/
|
| 17 |
COPY churn_prediction_model_v1_0.joblib ./
|
| 18 |
|
|
|
|
|
|
|
| 19 |
EXPOSE 8501
|
| 20 |
|
| 21 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|