Buckets:
| FROM python:3.12-slim | |
| ARG OSI_IMAGE_COMMIT="" | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_DISABLE_PIP_VERSION_CHECK=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| OSI_IMAGE_COMMIT=${OSI_IMAGE_COMMIT} | |
| LABEL org.opencontainers.image.revision=${OSI_IMAGE_COMMIT} | |
| WORKDIR /app | |
| RUN groupadd --system osi \ | |
| && useradd --system --gid osi --home-dir /home/osi --create-home osi | |
| COPY pyproject.toml README.md LICENSE ./ | |
| COPY src ./src | |
| RUN python -m pip install --upgrade pip \ | |
| && python -m pip install ".[mcp]" | |
| USER osi | |
| EXPOSE 8000 | |
| HEALTHCHECK --interval=30s --timeout=3s --start-period=10s --retries=3 \ | |
| CMD python -c "import socket; s=socket.create_connection(('127.0.0.1', int(__import__('os').environ.get('OSI_MCP_HTTP_PORT', '8000'))), 2); s.close()" | |
| CMD ["osi-mcp-http"] | |
Xet Storage Details
- Size:
- 798 Bytes
- Xet hash:
- 2e1d66850c88f0cf1f21a98bc90c9fff40723335bd7597827d2017a8d8fd7811
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.