Spaces:
Running on T4
Running on T4
File size: 427 Bytes
a86f101 440d5fd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | FROM python:3.11-slim
WORKDIR /app
COPY smishing_detector/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt && pip install gunicorn huggingface_hub
COPY smishing_detector/ ./smishing_detector/
WORKDIR /app/smishing_detector
ENV SCAMSHIELD_DEBUG=false
ENV SCAMSHIELD_HOST=0.0.0.0
ENV SCAMSHIELD_PORT=7860
COPY entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
CMD ["/app/entrypoint.sh"]
|