Files
Veeam_dashboard/Dockerfile
smolkik-code ba8a413e85 Initial commit: Veeam multi-instance monitoring dashboard
- FastAPI backend with CRUD for Veeam instances
- Veeam REST API client supporting v9.5-v13 (legacy + OAuth2)
- Multi-version detection and auth fallback
- SQLite caching layer
- Web dashboard with summary cards, instance list, detail tabs
- Docker packaging
2026-06-09 17:10:42 +07:00

19 lines
384 B
Docker

FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python -c "from main import app; print('App loaded')" && \
rm -rf __pycache__ */__pycache__
EXPOSE 8080
ENV DB_URL=sqlite+aiosqlite:////data/veeam_dashboard.db
ENV PYTHONUNBUFFERED=1
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]