mcp_mod_test / Dockerfile
mtyrrell's picture
cleanup and harmonization
000787f
raw
history blame contribute delete
478 Bytes
# -------- base image --------
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1 \
OMP_NUM_THREADS=1 \
TOKENIZERS_PARALLELISM=false
#GRADIO_MCP_SERVER=True
# -------- install deps --------
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# -------- copy source --------
COPY app ./app
COPY params.cfg .
COPY .env* ./
# Ports:
# • 7860 → Gradio UI (HF Spaces standard)
EXPOSE 7860
CMD ["python", "-m", "app.main"]