Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -7,6 +7,7 @@ WORKDIR /app
|
|
| 7 |
# Update the package lists and install necessary packages
|
| 8 |
RUN apt-get update \
|
| 9 |
&& apt-get install -y python3 python3-pip \
|
|
|
|
| 10 |
&& pip3 install virtualenv
|
| 11 |
|
| 12 |
# Create and activate a virtual environment
|
|
@@ -20,4 +21,4 @@ RUN pip install mlflow
|
|
| 20 |
EXPOSE 5000
|
| 21 |
|
| 22 |
# Run MLflow UI when the container starts
|
| 23 |
-
CMD ["mlflow", "ui", "-h", "0.0.0.0", "-p", "
|
|
|
|
| 7 |
# Update the package lists and install necessary packages
|
| 8 |
RUN apt-get update \
|
| 9 |
&& apt-get install -y python3 python3-pip \
|
| 10 |
+
&& apt install python3.10-venv \
|
| 11 |
&& pip3 install virtualenv
|
| 12 |
|
| 13 |
# Create and activate a virtual environment
|
|
|
|
| 21 |
EXPOSE 5000
|
| 22 |
|
| 23 |
# Run MLflow UI when the container starts
|
| 24 |
+
CMD ["mlflow", "ui", "-h", "0.0.0.0", "-p", "5000"]
|