File size: 400 Bytes
f970651 21e6af8 f970651 21e6af8 f970651 21e6af8 f970651 21e6af8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 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"]
|