mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 18:41:13 +08:00
22 lines
417 B
Docker
22 lines
417 B
Docker
FROM python:3.11-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY mcp/pyproject.toml ./pyproject.toml
|
|
COPY mcp/README.md ./README.md
|
|
COPY mcp/src ./src
|
|
|
|
RUN pip install --no-cache-dir --upgrade pip \
|
|
&& pip install --no-cache-dir .
|
|
|
|
EXPOSE 9090
|
|
|
|
CMD ["openisle-mcp"]
|