Skip to content

Commit

Permalink
🐳 config(docker): Properly define $NODE_PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed May 20, 2024
1 parent 118423b commit 4221232
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ COPY --chown=nonroot:nonroot [ \
"/home/nonroot/scripts/" \
]

ENV NODE_PATH="/home/nonroot/node/lib/node_modules"
ENV PATH="/home/nonroot/node/bin"

EXPOSE 3000
Expand Down

0 comments on commit 4221232

Please sign in to comment.