Spaces:
Runtime error
Runtime error
File size: 672 Bytes
cca1560 a745005 cca1560 8ac8a9d cca1560 cfa7ab8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # Market Intelligence Agent - Dockerfile
FROM python:3.12-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements
COPY requirements.txt .
# Install Python dependencies
# Install uv and dependencies
RUN pip install uv && \
uv pip install --system --no-cache-dir -r requirements.txt
# Copy application
COPY src/ ./src/
COPY scripts/ ./scripts/
COPY conftest.py .
# Create necessary directories
RUN mkdir -p data logs
# Set python path
ENV PYTHONPATH=/app
# Expose ports
EXPOSE 8000 7860
# Default command runs both API and UI
CMD ["python", "-m", "src.ui.app"]
|