Ilayr222 commited on
Commit
572a4c2
·
verified ·
1 Parent(s): dc0c812

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ WORKDIR /app
4
+
5
+ # Install Python deps first
6
+ COPY requirements.txt /app/requirements.txt
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ # Copy app code
10
+ COPY . /app
11
+
12
+ ENV PORT=7860
13
+ EXPOSE 7860
14
+
15
+ CMD ["python", "app.py"]