scanpy / Dockerfile
ghh1125's picture
Update Dockerfile
e545e5e verified
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV MCP_TRANSPORT=http
ENV MCP_PORT=7860
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY scanpy /app/scanpy
COPY app.py /app/app.py
RUN chown -R appuser:appuser /app
USER appuser
EXPOSE 7860
CMD ["python", "scanpy/mcp_output/start_mcp.py"]