mirror of https://github.com/OpenVidu/openvidu.git
1.0 KiB
1.0 KiB
Images
dashboard-ce/docker/Dockerfilebuildsopenvidu/openvidu-dashboardwithopenvidu-dashboard/as context (.dockerignoreat its root). These rules also apply to images built on these packages.- Images run Aikido safe-chain for every package manager call, install with
--frozen-lockfileand a--filter, build the SPA on$BUILDPLATFORMwith--base-href "$BASE_HREF"(default/, deployments use/dashboard/), purge tzdata, run as uid 1000 and declare aHEALTHCHECKthrough the entry'shealthcheckargument, which usesnode:httpbecausefetchrefuses ports such as 6000. - Runtime:
pnpm deploy --prodof the backend onnode:<24.x.y>-trixie-slim, without npm, npx and corepack. smoke-test.sh <image> <budget-mb> [docker run options...](./dashboard.sh smoke-image ce, 300 MB) checksMONGO_ENABLED=false, health,GET /api/healthcheck,HEAD /, uid 1000,SERVER_PORT,docker stopand the uncompressed size budget; the options reach every container, e.g. what an image built on this one needs to start.