Replies: 1 comment 1 reply
-
How was |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have set a
PATH
in thenodejs
builder below, but when I build theenv
outputs nothing.I am trying to follow the best practice from here https://docs.docker.com/develop/develop-images/instructions/#add-or-copy:
RUN --mount=type=bind,source=requirements.txt,target=/tmp/requirements.txt \ pip install --requirement /tmp/requirements.txt
The problem is that I have put the
npm
above in a special path, added toPATH
to be able to run it without the full path to it, but it does not work. It says the following when builder the Dockerfile:/bin/sh: npm: command not found
Beta Was this translation helpful? Give feedback.
All reactions