# gcontext CLOUD api (cloud_api.py). The connector (server.py) is NOT deployed — it runs
# on each user's machine. Build context is apps/mcp-minimal (Coolify base_directory).
FROM python:3.12-slim
WORKDIR /app
RUN pip install --no-cache-dir "psycopg[binary]>=3"
COPY cloud_api.py .
ENV HOST=0.0.0.0 PORT=8770
EXPOSE 8770
CMD ["python", "cloud_api.py"]
