Fred808 commited on
Commit
67b5c55
·
verified ·
1 Parent(s): eaa1489

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM nvidia/cuda:12.2.0-cudnn8-runtime-ubuntu22.04
2
+
3
+ RUN apt update && apt install -y python3-pip git
4
+ RUN pip3 install torch transformers fastapi uvicorn pillow
5
+
6
+ COPY . /app
7
+ WORKDIR /app
8
+
9
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5000"]