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 Apr 10, 2024
1 parent 0b6f239 commit 56d297b
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 @@ -102,6 +102,7 @@ COPY --from=build --chown=app:app /home/app/node /home/app/node
USER app
WORKDIR /home/app

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

EXPOSE 3000
Expand Down

0 comments on commit 56d297b

Please sign in to comment.