Enhanced conda support to handle custom environment and package directories:
Key Changes:
- Mount conda installation at original path (not /opt/miniconda3)
- Add CONDA_EXTRA_DIRS for mounting additional search paths
- Mount all conda-configured directories to preserve existing setup
- Update CLAUDE.md to use ${CONDA_EXE} environment variable
Technical Details:
- Preserves original conda paths so existing configuration works
- Handles multiple envs_dirs and pkgs_dirs automatically
- Provides feedback about which directories are mounted
- Falls back gracefully for missing directories
Example usage: CONDA_EXTRA_DIRS="/vol/path/.conda/envs /vol/path/conda_envs /vol/path/.conda/pkgs"
Result: All conda environments and packages accessible in container.
18 lines
847 B
Plaintext
18 lines
847 B
Plaintext
# Copy this file to .env and fill in your credentials
|
|
# The .env file will be baked into the Docker image during build
|
|
|
|
# Required for Claude Code if not using via subscription.
|
|
ANTHROPIC_API_KEY=your_anthropic_api_key_here
|
|
|
|
# Optional: Twilio credentials for SMS notifications
|
|
TWILIO_ACCOUNT_SID=your_twilio_account_sid
|
|
TWILIO_AUTH_TOKEN=your_twilio_auth_token
|
|
TWILIO_FROM_NUMBER=+1234567890
|
|
TWILIO_TO_NUMBER=+0987654321
|
|
|
|
# Optional: Custom conda installation (for academic/lab environments)
|
|
# Example: CONDA_PREFIX=/vol/biomedic3/username/miniconda3
|
|
CONDA_PREFIX=
|
|
# Optional: Additional conda directories (space-separated list)
|
|
# Example: CONDA_EXTRA_DIRS="/vol/biomedic3/username/.conda/envs /vol/biomedic3/username/conda_envs /vol/biomedic3/username/.conda/pkgs /vol/biomedic3/username/conda_pkgs /homes/username/.conda/envs"
|
|
CONDA_EXTRA_DIRS= |