repositories / smith
smith
There are many coding harnesses - but this one is fast
owned by admin
.ci/Containerfile
RawFROM docker.io/library/node:22-bookworm AS node
FROM docker.io/library/rust:latest
COPY --from=node /usr/local/bin/node /usr/local/bin/node
COPY --from=node /usr/local/lib/node_modules /usr/local/lib/node_modules
RUN ln -s ../lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
&& ln -s ../lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx
RUN node --version && npm --version && npx --version