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
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
This commit is contained in:
@@ -5,4 +5,6 @@ RUN npm install -g @mariozechner/pi-coding-agent
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
VOLUME [ "/app" ]
|
||||
|
||||
CMD ["pi", "--version"]
|
||||
11
compose.yaml
Normal file
11
compose.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
agent:
|
||||
# image: agent:latest
|
||||
build: .
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
# environment:
|
||||
# - ENV_VAR=value
|
||||
volumes:
|
||||
- ./data:/app
|
||||
command: ["pi", "--version"]
|
||||
Reference in New Issue
Block a user