Skip to content

feat: add Dockerfile and docker-compose for containerized deployment#172

Open
fengxiaozi-liu wants to merge 1 commit intoshareAI-lab:mainfrom
fengxiaozi-liu:add-docker
Open

feat: add Dockerfile and docker-compose for containerized deployment#172
fengxiaozi-liu wants to merge 1 commit intoshareAI-lab:mainfrom
fengxiaozi-liu:add-docker

Conversation

@fengxiaozi-liu
Copy link
Copy Markdown

Summary

Adds Docker support so the project can be run in a containerized environment.

Changes

  • Dockerfile: Multi-stage build that compiles the Next.js web frontend and sets up the Python agents runtime. Supports three usage modes:

    • Full stack: docker build -t learn-claude-code . && docker run -p 3000:3000 --env-file .env learn-claude-code
    • Agents only: docker run --env-file .env learn-claude-code python agents/s_full.py
    • Jupyter (optional): for interactive development
  • docker-compose.yml: Orchestrates the full stack with three services:

    • web: Next.js frontend on port 3000
    • agents: Python agents (default entrypoint: `python agents/s_full.py`)
    • jupyter (optional): Jupyter notebook on port 8888
  • .dockerignore: Keeps the image clean by excluding build artifacts, cache, and sensitive files.

Usage

cp .env.example .env
# Fill in ANTHROPIC_API_KEY in .env
docker-compose up -d

Then open https://localhost:3000.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

@fengxiaozi-liu is attempting to deploy a commit to the crazyboym's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant