mobenta commited on
Commit
cbc31f1
·
verified ·
1 Parent(s): 341dc52

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Base image for Python
2
+ FROM python:3.10
3
+
4
+ # Set the working directory
5
+ WORKDIR /app
6
+
7
+ # Copy requirements.txt and install dependencies
8
+ COPY requirements.txt /app/requirements.txt
9
+ RUN pip install --upgrade pip
10
+ RUN pip install -r requirements.txt
11
+
12
+ # Copy the rest of the code
13
+ COPY . /app
14
+
15
+ # Run the application
16
+ CMD ["python", "app.py"]