biopython / Dockerfile
ghh1125's picture
Upload 14 files
f970651 verified
Raw
History Blame Contribute Delete
400 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN useradd -m -u 1000 appuser
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY biopython /app/biopython
COPY app.py /app/app.py
ENV MCP_TRANSPORT=http
ENV MCP_PORT=7860
EXPOSE 7860
USER appuser
CMD ["python", "biopython/mcp_output/start_mcp.py"]