Files
gt-ai-os-community/apps/tenant-backend/Dockerfile.dev
HackWeasel 310491a557 GT AI OS Community v2.0.33 - Add NVIDIA NIM and Nemotron agents
- Updated python_coding_microproject.csv to use NVIDIA NIM Kimi K2
- Updated kali_linux_shell_simulator.csv to use NVIDIA NIM Kimi K2
  - Made more general-purpose (flexible targets, expanded tools)
- Added nemotron-mini-agent.csv for fast local inference via Ollama
- Added nemotron-agent.csv for advanced reasoning via Ollama
- Added wiki page: Projects for NVIDIA NIMs and Nemotron
2025-12-12 17:47:14 -05:00

39 lines
965 B
Docker

# Development Dockerfile for Tenant Backend
# This is separate from production Dockerfile
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies for PostgreSQL development
RUN apt-get update && apt-get install -y \
gcc \
g++ \
curl \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements file
COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Create data directory
RUN mkdir -p /data/test-tenant
# Create a non-root user for development
RUN useradd -m -u 1000 devuser && chown -R devuser:devuser /app /data
USER devuser
# Expose port
EXPOSE 8000
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost:8000/health || exit 1
# Development command (will be overridden by docker-compose)
CMD ["uvicorn", "app.main:composite_app", "--host", "0.0.0.0", "--port", "8000", "--reload"]