Create Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.11
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
ADD . /app
|
5 |
+
|
6 |
+
RUN pip3 install -r requirements.txt
|
7 |
+
|
8 |
+
EXPOSE 7860
|
9 |
+
|
10 |
+
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
|
11 |
+
|
12 |
+
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|