b73ff9465c
Interactive OME fleet UI with topology, KPI popups, in-browser SSH, chat, tickets, and full inventory landscape.
10 lines
320 B
Docker
10 lines
320 B
Docker
FROM python:3.12-slim
|
|
WORKDIR /app
|
|
COPY api/requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY api/main.py /app/main.py
|
|
COPY ui /ui
|
|
# main.py expects ../ui from api parent — adjust path: STATIC_DIR = /ui
|
|
ENV PYTHONUNBUFFERED=1
|
|
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8090"]
|