entropy25 commited on
Commit
580c59a
·
verified ·
1 Parent(s): 051ae6f

Create Docker

Browse files
Files changed (1) hide show
  1. Docker +15 -0
Docker ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ WORKDIR /code
4
+
5
+ COPY ./requirements.txt /code/requirements.txt
6
+
7
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
+
9
+ COPY . /code
10
+
11
+ EXPOSE 7860
12
+
13
+ HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
14
+
15
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]