mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00

- Avoid rebuilding all the steps by installing requirements depending on the requirement files only first. Use actual application code as a reference in the last Dockerfile layer. - Add docker-compose.yml to make running easier.
21 lines
663 B
YAML
21 lines
663 B
YAML
services:
|
|
# Run this using `docker compose run --rm aider-base` on the CLI
|
|
# To run with forced build: `docker compose run --build --rm aider-base` on the CLI
|
|
aider-base:
|
|
build:
|
|
context: .
|
|
args: [--rm]
|
|
dockerfile: docker/Dockerfile
|
|
container_name: aider
|
|
#volumes:
|
|
# - .:/app
|
|
#working_dir: /app
|
|
command: /bin/bash
|
|
|
|
# Run this using `docker compose run --rm aider` on the CLI
|
|
# You can add arguments: `docker compose run --rm aider --architect -m "Do this task"`
|
|
# And you can request to update the build: `docker compose run --build --rm aider` on the CLI
|
|
aider:
|
|
extends: aider-base
|
|
command: aider
|
|
|