ai-summarization-api / Dockerfile
tejash300's picture
Update Dockerfile
f40d89a verified
raw
history blame contribute delete
212 Bytes
FROM python:3.9
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
ENV TRANSFORMERS_CACHE="/tmp"