sonarr, radarr, lidarr, bazarr, nzbget, qbittorrent, jackett, bookshelf, plex, tautulli, kometa and ombi, taken from the novox/mesh-catalog branches that prepared them for ace (PRs 145-168), consolidated in stack order. kometa gains a minimal runtime sidecar (kometa_status, kometa_config) and declares its tmdb key as an own secret instead of a "secret" requirement.
15 lines
664 B
Docker
15 lines
664 B
Docker
# kometa's runtime: the tool runtime, carrying this module's compiled code.
|
|
#
|
|
# Built from this module's own directory and nothing else; the sdk and the tool runtime are in the
|
|
# base images, declared in module.json's `build.on` (novox/hq ADR 0069, issue 044).
|
|
ARG BUILD_BASE
|
|
ARG RUNTIME_BASE
|
|
FROM ${BUILD_BASE} AS build
|
|
WORKDIR /app/modules/kometa
|
|
COPY . .
|
|
RUN node /app/node_modules/typescript/bin/tsc client.ts tools/index.ts \
|
|
--module NodeNext --moduleResolution NodeNext --target ES2022 --outDir dist
|
|
FROM ${RUNTIME_BASE}
|
|
COPY --from=build /app/modules/kometa/dist /app/modules/kometa/dist
|
|
ENV MESH_TOOL_MODULES=/app/modules/kometa/dist/tools/index.js
|