Docker: Fix sharp not installing due to npm cache permissions
Moving the npm cache folder into the /app folder solved the permission issues Fixes #8
This commit is contained in:
@@ -2,6 +2,6 @@ version: "3.7"
|
||||
|
||||
services:
|
||||
bot:
|
||||
command: sh -c "npm install && npm run dev"
|
||||
command: sh -c "npm config set cache /app/.npm_cache --global && npm install && npm run dev"
|
||||
ports:
|
||||
- "9229:9229"
|
||||
Reference in New Issue
Block a user