MisbahKhan commited on
Commit
65ae305
·
verified ·
1 Parent(s): 18c0aec

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ # Install dependencies
4
+ RUN pip install fastapi uvicorn tensorflow pillow numpy
5
+
6
+ # Copy model and app
7
+ COPY super_resolution_model.h5 .
8
+ COPY app.py .
9
+
10
+ # Expose port
11
+ EXPOSE 8000
12
+
13
+ # Run the app
14
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]