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