mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 08:33:36 +00:00
chore: update Docker configuration and entrypoint script
- Enhanced .dockerignore to exclude additional build outputs and dependencies. - Modified dev.mjs and start.mjs to change Docker container startup behavior, removing the --build flag to preserve volumes. - Updated docker-compose.yml to add a new volume for persisting Claude CLI OAuth session keys. - Introduced docker-entrypoint.sh to fix permissions on the Claude CLI config directory. - Adjusted Dockerfile to include the entrypoint script and ensure proper user permissions. These changes improve the Docker setup and streamline the development workflow.
This commit is contained in:
@@ -59,6 +59,10 @@ services:
|
||||
# This volume persists data between restarts but is container-managed
|
||||
- automaker-data:/data
|
||||
|
||||
# Persist Claude CLI OAuth session keys across container restarts
|
||||
# This allows 'claude login' authentication to persist between restarts
|
||||
- automaker-claude-config:/home/automaker/.claude
|
||||
|
||||
# NO host directory mounts - container cannot access your laptop files
|
||||
# If you need to work on a project, create it INSIDE the container
|
||||
# or use a separate docker-compose override file
|
||||
@@ -72,3 +76,8 @@ volumes:
|
||||
automaker-data:
|
||||
name: automaker-data
|
||||
# Named volume - completely isolated from host filesystem
|
||||
|
||||
automaker-claude-config:
|
||||
name: automaker-claude-config
|
||||
# Named volume for Claude CLI OAuth session keys and configuration
|
||||
# Persists authentication across container restarts
|
||||
|
||||
Reference in New Issue
Block a user