File size: 246 Bytes
a4a18c5
 
7303271
a4a18c5
 
 
 
7303271
 
a4a18c5
7303271
 
 
a4a18c5
7303271
a4a18c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.8-slim

# Suppress TensorFlow warnings
ENV TF_CPP_MIN_LOG_LEVEL=3
ENV TF_ENABLE_ONEDNN_OPTS=0

WORKDIR /app

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

COPY . .

EXPOSE 7860

CMD ["python", "app.py"]