bert-fastapi-hf / Dockerfile
ganeshkonapalli's picture
Upload 6 files
3eecc60 verified
raw
history blame contribute delete
292 Bytes
FROM python:3.11-slim
WORKDIR /code
COPY ./app /code/app
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade pip
RUN pip install -r app/requirements.txt
EXPOSE 7860
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]