S-Dreamer commited on
Commit
5754fc7
·
verified ·
1 Parent(s): 01ab6de

Create Dockfile

Browse files
Files changed (1) hide show
  1. Dockfile +13 -0
Dockfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+
8
+ COPY app.py .
9
+ COPY .env . # Optional: Only include if not sensitive
10
+
11
+ EXPOSE 7860
12
+
13
+ CMD ["python", "app.py"]