File size: 420 Bytes
b6f5818
 
 
 
 
 
 
 
 
 
 
 
57bff10
b6f5818
 
 
 
 
57bff10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM pytorch/pytorch:1.11.0-cuda11.3-cudnn8-runtime as base

RUN apt-get update && apt-get -y install git


ENV HOME=/exp/fromage



WORKDIR /exp/fromage
COPY ./requirements.txt ./requirements.txt
RUN python -m pip install -r ./requirements.txt
RUN python -m pip install --upgrade Jinja2
RUN python -m pip install gradio

COPY . .
RUN chmod -R a+rwX .

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