Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Aquaticat/Monochromatic. TypeScript and Rust monorepo: Claude Code and Pi coding-agent plugins, a m
Something went wrong. Try again.
1.3 kB · 32 lines
123456789101112131415161718192021222324252627282930313233FROM fedora:latest
ENV MISE_DATA_DIR=/miseENV MISE_CONFIG_DIR=/miseENV MISE_CACHE_DIR=/mise/cacheENV PATH=/usr/local/bin:/baked/node_modules/.bin:$PATH
RUN dnf install --assumeyes dnf-plugins-core ca-certificates curl git libatomic procps-ng rsync which \ && dnf copr enable --assumeyes jdxcode/mise \ && dnf install --assumeyes mise \ && dnf clean all \ && rm --recursive --force /var/cache/dnf
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
WORKDIR /bakedCOPY . /baked
# The baked mise.toml sets npm.package_manager = "pnpm", so once trusted, mise# would install npm:pnpm by running `pnpm add --global pnpm` -- but pnpm does not# exist yet in a fresh container, so that bootstrap fails with ENOENT. Force npm# (bundled with node) as the package manager for this install step only; pnpm is# used directly for the frozen-lockfile install once it exists.RUN export MISE_NPM_PACKAGE_MANAGER=npm \ && mise trust /baked/mise.toml \ && mise install --yes node npm:pnpm \ && ln --symbolic --force "$(mise exec node -- which node)" /usr/local/bin/node \ && ln --symbolic --force "$(mise exec node -- which npm)" /usr/local/bin/npm \ && ln --symbolic --force "$(mise exec node npm:pnpm -- which pnpm)" /usr/local/bin/pnpm \ && mise exec node npm:pnpm -- pnpm install --frozen-lockfile
CMD ["node", "--version"]