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