Somehow on npm startup it created directory at  `/.npm` rather than `/app/.npm`, explicitly define `.npm` folder path
This commit is contained in:
Dedy Martadinata S
2023-12-01 18:56:03 +07:00
committed by GitHub
parent 0e33b2db2b
commit 509e996107

View File

@@ -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