shankari221104 commited on
Commit
2ad9981
·
verified ·
1 Parent(s): 925256a

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +17 -0
  2. __pycache__/server.cpython-311.pyc +0 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official lightweight Python image
2
+ FROM python:3.10-slim
3
+
4
+ # Set working directory inside the container
5
+ WORKDIR /app
6
+
7
+ # Copy all files from your project to the container
8
+ COPY . /app
9
+
10
+ # Install dependencies
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+
13
+ # Expose the port that Hugging Face expects
14
+ EXPOSE 7860
15
+
16
+ # Command to start your FastAPI server
17
+ CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
__pycache__/server.cpython-311.pyc CHANGED
Binary files a/__pycache__/server.cpython-311.pyc and b/__pycache__/server.cpython-311.pyc differ