- Add moondream2 vision service to compose.yml (single-gpu + dual-gpu profiles) - Create scripts/vision_service/Dockerfile for the vision container - Add VISION_PORT, VISION_MODEL, VISION_REVISION vars to .env.example - Add Vision Service entry to SERVICES list in Settings (hidden unless gpu profile active) - Add Fine-Tune Wizard tab (Task 10) to Settings with 3-step upload→preview→train flow - Tab is always rendered; shows info message when non-GPU profile is active Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6 lines
229 B
Docker
6 lines
229 B
Docker
FROM python:3.11-slim
|
|
WORKDIR /app
|
|
RUN pip install --no-cache-dir fastapi uvicorn transformers torch pillow einops
|
|
COPY scripts/vision_service/ /app/
|
|
EXPOSE 8002
|
|
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8002"]
|