Spaces:
Sleeping
Sleeping
| FROM python:3.14-slim | |
| # Install Node.js 20 LTS | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| curl \ | |
| ca-certificates \ | |
| && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ | |
| && apt-get install -y --no-install-recommends nodejs \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Google Drive MCP server globally | |
| RUN npm install -g @piotr-agier/google-drive-mcp | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/ | |
| WORKDIR /app | |
| COPY pyproject.toml uv.lock ./ | |
| RUN uv sync --no-dev --frozen | |
| COPY main.py . | |
| COPY app/ app/ | |
| COPY entrypoint.sh . | |
| RUN chmod +x entrypoint.sh | |
| EXPOSE 7860 | |
| CMD ["./entrypoint.sh"] | |