Codemaster67 commited on
Commit
227f6a3
·
verified ·
1 Parent(s): 6733661

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Install dependencies
6
+ COPY requirements.txt .
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ # Copy application code
10
+ COPY app.py .
11
+
12
+ # Expose the default Hugging Face Spaces port
13
+ EXPOSE 7860
14
+
15
+ # Run the FastMCP server
16
+ CMD ["python", "app.py"]