Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
123456789101112131415161718192021# --- frontend build ---FROM node:22-slim AS frontendWORKDIR /buildCOPY frontend/package.json frontend/package-lock.json ./RUN npm ciCOPY frontend/ ./RUN npm run build
# --- backend runtime (also serves the built frontend) ---FROM python:3.14-slimCOPY --from=ghcr.io/astral-sh/uv:0.12 /uv /usr/local/bin/uvWORKDIR /appENV UV_PYTHON_DOWNLOADS=never UV_COMPILE_BYTECODE=1COPY backend/pyproject.toml backend/uv.lock ./RUN uv sync --frozen --no-devCOPY backend/app ./appCOPY --from=frontend /build/dist ./staticENV FRAY_STATIC_DIR=/app/staticEXPOSE 8080CMD ["/app/.venv/bin/uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]