ai-code-review-env / Dockerfile
YAXH64
fix: docker build issue
a2ae9c3
Raw
History Blame Contribute Delete
384 Bytes
FROM python:3.11-slim
# Prevent buffering (important for logs)
ENV PYTHONUNBUFFERED=1
# Set working directory
WORKDIR /app
# Copy requirements first (for caching)
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy full project
COPY . .
# Fix Python imports
ENV PYTHONPATH=/app
# Run inference
CMD ["python", "inference.py"]