pneumonia-effnetb0 / Dockerfile
VRS1503's picture
Upload folder using huggingface_hub
f617c02 verified
raw
history blame contribute delete
429 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
libjpeg62-turbo \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY app_gradio.py /app/app_gradio.py
COPY models /app/models
EXPOSE 7860
ENV TF_CPP_MIN_LOG_LEVEL=2
ENV TF_FORCE_GPU_ALLOW_GROWTH=true
CMD ["python", "app_gradio.py"]