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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have set a
PATHin thenodejsbuilder below, but when I build theenvoutputs 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.txtThe problem is that I have put the
npmabove in a special path, added toPATHto 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 foundBeta Was this translation helpful? Give feedback.
All reactions