File size: 344 Bytes
171da0b
4fff39b
171da0b
 
4fff39b
171da0b
 
 
4fff39b
171da0b
 
 
4fff39b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu20.04

# System setup
RUN apt-get update && apt-get install -y python3-pip git libgl1

# Python dependencies
COPY requirements.txt .
RUN pip3 install --upgrade pip && pip3 install -r requirements.txt

# App
COPY . /app
WORKDIR /app

CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]