muthuk1 commited on
Commit
af2ecb5
·
verified ·
1 Parent(s): 3ee46b0

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+
8
+ COPY models/ ./models/
9
+ COPY inference_server.py .
10
+
11
+ ENV MODEL_DIR=/app/models
12
+ EXPOSE 7860
13
+
14
+ CMD ["python", "inference_server.py"]