prasenjeet099 commited on
Commit
5b13714
·
verified ·
1 Parent(s): ee50b2b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Base Image
2
+ FROM python:3.9
3
+
4
+ # Working Directory
5
+ WORKDIR /app
6
+
7
+ # Dependencies Install
8
+ COPY requirements.txt .
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # Copy Source Code
12
+ COPY . .
13
+
14
+ # Expose Port
15
+ EXPOSE 7860
16
+
17
+ # Run App (ধরে নিচ্ছি তুমি Streamlit ব্যবহার করছো)
18
+ CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]