aider/docker
Paul Gauthier 745c0fcfef feat(docker): add support for running as non-root user
The changes in this commit add support for running the Docker container as a non-root user. Specifically:

- Set permissions on the /.aider and /app directories to allow read/write/execute access for all users.
- Configure Git to consider the /app directory as a safe directory, which prevents Git from complaining about unusual permissions when running as a non-root user.
- Ensure that the Python site-packages directory and other relevant directories have read/write/execute permissions for all users, so that pip installs work even when running as a non-root user.

These changes will allow the Docker container to be run with the `--user` flag, which is a common requirement for running containers in production environments.
2024-07-31 09:52:53 -03:00
..
Dockerfile feat(docker): add support for running as non-root user 2024-07-31 09:52:53 -03:00