kritikaxai commited on
Commit
9686556
·
verified ·
1 Parent(s): 9b774c2

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use an official Python image
2
+ FROM python:3.10-slim
3
+
4
+ # Set the working directory inside the container
5
+ WORKDIR /app
6
+
7
+ # Copy the requirements file first to install tools
8
+ COPY requirements.txt .
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ # Copy all your code files into the container
12
+ COPY . .
13
+
14
+ # Tell the container to run your dashboard
15
+ CMD ["python", "app.py"]