Dockerfile.streamable-http•446 B
FROM ghcr.io/astral-sh/uv:python3.10-bookworm-slim
# Set the working directory
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Install dependencies and the package
RUN (uv venv .venv) && (. .venv/bin/activate) && (uv pip install -e .)
ENV TRANSPORT=http
ENV PORT=8081
EXPOSE 8081
CMD ["uv", "run", "python", "-m", "pgtuner_mcp", "--mode", "streamable-http", "--host", "0.0.0.0", "--port", "8081"]