I want to add NPM's dependency in Dockerfile like that:
RUN PATH="/node_modules/@zxc/pdm-node-builds/dist/bin/pdm-node-scripts.js:$PATH"
RUN export PATH
RUN echo $PATH
But it does not work, any other idea?
EDIT: My issue was I had:
RUN PATH="/node_modules/@zxc/pdm-node-builds/dist/bin/pdm-node-scripts.js:$PATH"
where should be:
RUN PATH="node_modules/@zxc/pdm-node-builds/dist/bin/pdm-node-scripts.js:$PATH"