enterprise-spam-api / Dockerfile
SunbalAzizLCWU's picture
Upgrade Docker to Python 3.12 to support modern scikit-learn
1e677d4
Raw
History Blame Contribute Delete
222 Bytes
FROM python:3.12
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]