Skip to content

Commit

Permalink
Fix .npm
Browse files Browse the repository at this point in the history
Somehow on npm startup it created directory at  `/.npm` rather than `/app/.npm`, explicitly define `.npm` folder path
  • Loading branch information
martadinata666 authored Dec 1, 2023
1 parent 0e33b2d commit 509e996
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 @@ -19,6 +19,7 @@ ENV USER=youtube
ENV NO_UPDATE_NOTIFIER=true
ENV PM2_HOME=/app/pm2
ENV ALLOW_CONFIG_MUTATIONS=true
ENV npm_config_cache=/app/.npm

# Use NVM to get specific node version
ENV NODE_VERSION=16.14.2
Expand Down

0 comments on commit 509e996

Please sign in to comment.