warmup / Dockerfile
mohamedalix546's picture
Upload 3 files
5705d09 verified
raw
history blame contribute delete
317 Bytes
FROM python:3.10-slim
COPY . /app
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential git && \
pip install --no-cache-dir -r requirements.txt && \
apt-get clean && rm -rf /var/lib/apt/lists/*
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]