Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10
|
2 |
+
|
3 |
+
COPY requirements.txt /app/requirements.txt
|
4 |
+
COPY constraints.txt /app/constraints.txt
|
5 |
+
WORKDIR /app
|
6 |
+
|
7 |
+
RUN pip install --no-cache-dir -r requirements.txt -c constraints.txt
|
8 |
+
COPY . /app
|
9 |
+
|
10 |
+
CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]
|