From b69edcfcbab68699b75289f447ab6c276c93f148 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 18 Oct 2023 08:45:02 -0700 Subject: [PATCH] prep docker build to run in github action --- .dockerignore | 1 + .github/workflows/release.yml | 1 + docker/Dockerfile | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index ce03212b5..830cf8498 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,3 +7,4 @@ OLD* .env .venv .aider.* +build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1fee08670..c1f87789a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Release on: + workflow_dispatch: push: tags: - 'v*' diff --git a/docker/Dockerfile b/docker/Dockerfile index 3405669ed..d33ce63f6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,6 +1,7 @@ FROM python:3.10-slim RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* -RUN pip install --upgrade pip && pip install aider-chat +COPY . /aider +RUN pip install --upgrade pip && pip install /aider WORKDIR /app ENTRYPOINT ["aider"]