Files
omnara-agent-monitor/docker/backend.Dockerfile
Kartik Sarangmath d12fe4a101 Initial commit
2025-07-08 19:17:44 -07:00

20 lines
464 B
Docker

FROM python:3.12-slim
WORKDIR /app
# Copy requirements
COPY backend/requirements.txt /app/backend/requirements.txt
COPY shared/requirements.txt /app/shared/requirements.txt
# Install dependencies
RUN pip install --no-cache-dir -r backend/requirements.txt
# Copy application code
COPY shared /app/shared
COPY backend /app/backend
# Set Python path
ENV PYTHONPATH=/app
# Run the backend from root directory to access shared
CMD ["python", "-m", "backend.main"]