Moving the npm cache folder into the /app folder solved the permission issues Fixes #8
7 lines
160 B
YAML
7 lines
160 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
bot:
|
|
command: sh -c "npm config set cache /app/.npm_cache --global && npm install && npm run dev"
|
|
ports:
|
|
- "9229:9229" |