unit3-mcp-pr-agent / Dockerfile
Rajesh Betkiker
Dockerized
ddcdfce
raw
history blame contribute delete
444 Bytes
FROM python:3.13-slim
# Create non-root user
RUN useradd -m -u 1000 user
USER user
# Environment
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
RUN chown -R user:1000 /app
# Install pip and uv
RUN pip install --upgrade pip && pip install uv
# Copy project files
COPY --chown=user:1000 . /app
# Install dependencies
RUN uv sync --frozen
# Run the server
CMD ["uv", "run", "/app/mcp_server.py", "--host", "0.0.0.0", "--port", "7860"]