File size: 771 Bytes
c9ed99e
aaa453b
 
 
771c640
aaa453b
3037637
 
771c640
 
 
 
 
 
5eef733
771c640
 
 
 
 
 
 
9618b09
771c640
aaa453b
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM python:3.9.2

WORKDIR /code

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

RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN pip install fastapi uvicorn
RUN pip install joblib==1.3.2
RUN pip install numpy==1.26.2
RUN pip install packaging==23.2
RUN pip install pydantic==2.5.2
RUN pip install pydantic-core==2.14.5
RUN pip install scikeras==0.12.0
RUN pip install scikit-learn==1.2.2
RUN pip install scipy==1.11.4
RUN pip install sniffio==1.3.0
RUN pip install starlette==0.27.0
RUN pip install tensorflow-io-gcs-filesystem==0.31.0
RUN pip install threadpoolctl==3.2.0
RUN pip install typing-extensions==4.8.0
RUN pip install unicorn==2.0.1.post1
RUN pip install xgboost


COPY . .

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