Help me debug a permissions problem I seem to have with certain node docker images by checking out this repositiory and running the code below. I'm particularly interested in what the ownership and permissions are for node_modules
in your container, and if they differ between these two images:
docker compose -f docker-compose-local.yml build --no-cache && docker compose -f docker-compose-local.yml up
docker exec -it docker-debug-test sh
- In the container
ls -la
- Report ownership and permissions of
node_modules
- In
Dockerfile
Comment outFROM node:lts-alpine
and uncomment# FROM node:lts-slim
- As above, but use
bash
instead ofsh
on step 2