File size: 300 Bytes
e63e1eb
0b5e429
 
 
4f37c86
 
 
 
 
0335637
f663c35
e63e1eb
cd41c7b
0b5e429
 
 
1ad978f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.10-slim

WORKDIR /app

ARG HF_HOME=/app/.cache
RUN mkdir ${HF_HOME} \
	&& chmod 775 ${HF_HOME}
	
ENV HF_HOME=${HF_HOME}

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

# Run the application.
CMD streamlit run inference_main.py  --server.port 7860