mirror of
https://github.com/unraid/api.git
synced 2025-12-31 05:29:48 -06:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [node](https://redirect.github.com/nodejs/node) | final | pin | `22-bookworm-slim` -> `22.17.0-bookworm-slim` | Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/unraid/api). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMTcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
36 lines
656 B
Docker
36 lines
656 B
Docker
FROM node:22.17.0-bookworm-slim AS plugin-builder
|
|
|
|
# Install build tools and dependencies
|
|
RUN apt-get update -y && apt-get install -y \
|
|
bash \
|
|
# Real PS Command (needed for some dependencies)
|
|
procps \
|
|
python3 \
|
|
libvirt-dev \
|
|
jq \
|
|
zstd \
|
|
git \
|
|
build-essential \
|
|
unzip
|
|
|
|
RUN git config --global --add safe.directory /app
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json ./
|
|
|
|
RUN corepack enable && pnpm install
|
|
|
|
# Install a simple http server
|
|
RUN npm install -g http-server
|
|
|
|
# Expose port 5858
|
|
EXPOSE 5858
|
|
|
|
COPY scripts/entrypoint.sh /start.sh
|
|
RUN chmod +x /start.sh
|
|
|
|
ENTRYPOINT [ "/start.sh" ]
|
|
|
|
CMD [ "pnpm", "run", "build:watcher" ]
|