Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ WORKDIR /app
# hadolint ignore=DL3008
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
python3-dev \
libssl-dev \
libffi-dev \
build-essential \
python3-dev \
libssl-dev \
libffi-dev \
ffmpeg \
libavcodec-extra \
&& rm -rf /var/lib/apt/lists/*

# Copy requirements first for better cache efficiency
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@ docker-build: ## build Docker image
--build-arg GIT_TAG=$(GIT_TAG) \
.

# make docker-run DOCKER_COMMAND="streamlit run template_langgraph/services/streamlits/pages/chat_with_tools_agent.py --server.address 0.0.0.0"
.PHONY: docker-run
docker-run: ## run Docker container
docker run --rm $(DOCKER_REPO_NAME)/$(DOCKER_IMAGE_NAME):$(GIT_TAG) $(DOCKER_COMMAND)
docker run --rm \
-p 8501:8501 \
$(DOCKER_REPO_NAME)/$(DOCKER_IMAGE_NAME):$(GIT_TAG) $(DOCKER_COMMAND)

.PHONY: docker-run-streamlit
docker-run-streamlit: ## run Docker container with Streamlit app
Expand Down
2 changes: 1 addition & 1 deletion docs/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

## 前提条件

- [Python 3.10+](https://www.python.org/downloads/)
- [Python 3.13+](https://www.python.org/downloads/)
- [uv](https://docs.astral.sh/uv/getting-started/installation/) - モダンな Python パッケージマネージャー
- [GNU Make](https://www.gnu.org/software/make/) - 一般的なタスクの実行用
- [Docker](https://www.docker.com/) - ベクターデータベースの実行用(オプション)
Expand Down
5 changes: 3 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This template provides working examples of all these patterns using LangGraph.

## Prerequisites

- [Python 3.10+](https://www.python.org/downloads/)
- [Python 3.13+](https://www.python.org/downloads/)
- [uv](https://docs.astral.sh/uv/getting-started/installation/) - Modern Python package manager
- [GNU Make](https://www.gnu.org/software/make/) - For running common tasks
- [Docker](https://www.docker.com/) - For running vector databases (optional)
Expand Down Expand Up @@ -280,7 +280,7 @@ docker run --rm \
ks6088ts/template-langgraph:latest \
streamlit run template_langgraph/services/streamlits/main.py --server.address 0.0.0.0

# From GitHub Container Registry
# From GitHub Container Registry
docker run --rm \
-p 8501:8501 \
-v ./.env:/app/.env \
Expand All @@ -291,6 +291,7 @@ docker run --rm \
#### Multi-Architecture Support

The Docker images are built for both `amd64` and `arm64` architectures, making them compatible with:

- Intel/AMD x64 processors
- Apple Silicon (M1/M2/M3/M4) processors
- ARM-based servers
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name = "template-langgraph"
version = "0.0.1"
description = "A GitHub template repository for Python"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.13"
dependencies = [
"audio-recorder-streamlit>=0.0.10",
"audioop-lts>=0.2.2",
"azure-ai-projects>=1.0.0",
"azure-cosmos>=4.9.0",
"azure-identity>=1.23.1",
Expand Down
Loading
Loading