Spaces:
Sleeping
Sleeping
Commit
·
3a8e15d
1
Parent(s):
70a02e1
Add this Dockerfile will make it easy to anyone to deploy this application as a container
Browse files- Dockerfile +8 -0
Dockerfile
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3
|
| 2 |
+
EXPOSE 8501
|
| 3 |
+
WORKDIR /mlproject
|
| 4 |
+
COPY requirements.txt .
|
| 5 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
+
RUN pip install --upgrade pip
|
| 7 |
+
COPY . .
|
| 8 |
+
CMD ["streamlit", "run", "app.py"]
|