mirror of
https://github.com/hanzoai/mcp-remote-macos-use.git
synced 2026-10-30 18:28:08 +00:00
- Refactored package structure from mcp_remote_macos_use to mcp_remote_macos - Updated Docker configuration to use uv package manager per Hanzo standards - Fixed CI/CD workflows for multi-platform Docker image publishing - Added compose.yml for easier deployment - Added .env.example for configuration reference - All tests passing (32/32) - Ready for Docker Hub publishing with hanzoai/mcp-remote-macos:latest
31 lines
691 B
Docker
31 lines
691 B
Docker
# Use Python base image
|
|
FROM python:3.11-slim
|
|
|
|
# Install system dependencies and uv
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
|
# Add uv to PATH
|
|
ENV PATH="/root/.local/bin:$PATH"
|
|
|
|
# Install the project into `/app`
|
|
WORKDIR /app
|
|
|
|
# Copy project files
|
|
COPY pyproject.toml ./
|
|
COPY README.md ./
|
|
COPY src/ ./src/
|
|
|
|
# Install the package using uv
|
|
RUN uv venv && \
|
|
. .venv/bin/activate && \
|
|
uv pip install -e .
|
|
|
|
# Set the environment to use the virtual environment
|
|
ENV VIRTUAL_ENV=/app/.venv
|
|
ENV PATH="/app/.venv/bin:$PATH"
|
|
|
|
# Run the server
|
|
CMD ["python", "-m", "mcp_remote_macos.server"] |