nexus-quant-bot / Dockerfile
mossoo4568
feat: live quant trading terminal docker deployment
be62102
Raw History Blame Contribute Delete
459 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends gcc && rm -rf /var/lib/apt/lists/*
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application source code
COPY . .
# Expose Web Port (Default 8000 / $PORT support)
EXPOSE 8000
ENV PORT=8000
# Start High-Speed Quant Engine
CMD ["python", "main.py"]