From 12f664d08e0d568d0b3e02d10bbbe1faee3095cd Mon Sep 17 00:00:00 2001 From: highperfocused Date: Wed, 11 Mar 2026 23:05:20 +0100 Subject: [PATCH] =?UTF-8?q?F=C3=BCge=20Docker-Compose-Datei=20und=20.gitig?= =?UTF-8?q?nore=20hinzu,=20um=20den=20Agenten=20zu=20konfigurieren=20und?= =?UTF-8?q?=20Datenverzeichnisse=20auszuschlie=C3=9Fen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 ++ compose.yaml | 11 +++++++++++ gitignore | 1 + 3 files changed, 14 insertions(+) create mode 100644 compose.yaml create mode 100644 gitignore diff --git a/Dockerfile b/Dockerfile index bf40c33..0578208 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,6 @@ RUN npm install -g @mariozechner/pi-coding-agent WORKDIR /app +VOLUME [ "/app" ] + CMD ["pi", "--version"] \ No newline at end of file diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..9fd7c6b --- /dev/null +++ b/compose.yaml @@ -0,0 +1,11 @@ +services: + agent: + # image: agent:latest + build: . + # ports: + # - "8080:8080" + # environment: + # - ENV_VAR=value + volumes: + - ./data:/app + command: ["pi", "--version"] \ No newline at end of file diff --git a/gitignore b/gitignore new file mode 100644 index 0000000..b786662 --- /dev/null +++ b/gitignore @@ -0,0 +1 @@ +data/** \ No newline at end of file