phishing-detector-api / Dockerfile
kokluch's picture
First basic sms filter for iOS app.
2fb3bf7
raw
history blame contribute delete
401 Bytes
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY . /app
ENV HF_HOME=/tmp/huggingface_home
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]