Rajendransp133 commited on
Commit
bec08f9
·
verified ·
1 Parent(s): 915fb41

Update DockerFile

Browse files
Files changed (1) hide show
  1. DockerFile +17 -0
DockerFile CHANGED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Python image
2
+ FROM python:3.10-slim
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /app
6
+
7
+ # Copy everything into /app
8
+ COPY . /app
9
+
10
+ # Install dependencies
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ # Expose the Streamlit default port
14
+ EXPOSE 8501
15
+
16
+ # Run Streamlit app
17
+ CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]