Füge Docker-Compose-Datei und .gitignore hinzu, um den Agenten zu konfigurieren und Datenverzeichnisse auszuschließen.
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled

This commit is contained in:
2026-03-11 23:05:20 +01:00
parent 830be3f705
commit 12f664d08e
3 changed files with 14 additions and 0 deletions

View File

@@ -5,4 +5,6 @@ RUN npm install -g @mariozechner/pi-coding-agent
WORKDIR /app
VOLUME [ "/app" ]
CMD ["pi", "--version"]

11
compose.yaml Normal file
View File

@@ -0,0 +1,11 @@
services:
agent:
# image: agent:latest
build: .
# ports:
# - "8080:8080"
# environment:
# - ENV_VAR=value
volumes:
- ./data:/app
command: ["pi", "--version"]

1
gitignore Normal file
View File

@@ -0,0 +1 @@
data/**