Spaces:
Running
Running
Add this Dockerfile will make it easy to anyone to deploy this application as a container
#1
by
hemanthhemu
- opened
- 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"]
|