File size: 262 Bytes
bf42b03
0b89ddd
f2cdb3a
0b89ddd
f2cdb3a
 
 
 
 
0b89ddd
5a6ca0c
0b89ddd
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM tensorflow/tensorflow:2.12.0-gpu

WORKDIR /code

COPY ./requirements.txt /code/requirements.txt

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY . .

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