sakshi7502 commited on
Commit
17efdaa
·
verified ·
1 Parent(s): 2effb5e

Create DOCKERFILE

Browse files
Files changed (1) hide show
  1. DOCKERFILE +21 -0
DOCKERFILE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a base image
2
+ FROM python:3.9
3
+
4
+ # Set the working directory
5
+ WORKDIR /app
6
+
7
+ # Install system dependencies (if needed)
8
+ RUN apt-get update && apt-get install -y git
9
+
10
+ # Copy the files to the container
11
+ COPY . /app
12
+
13
+ # Install required Python packages
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ # Expose port (if using a web app)
17
+ EXPOSE 7860
18
+
19
+ # Set the command to run the application
20
+ CMD ["python", "app.py"]
21
+