Skip to content
Closed
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: 10 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Dev container Dockerfile
FROM mcr.microsoft.com/devcontainers/universal:4-noble

# Install essential utilities including coreutils
RUN apt-get update && apt-get install -y \
coreutils \
&& rm -rf /var/lib/apt/lists/*

# Install Poetry
RUN curl -sSL https://install.python-poetry.org | python3 -
10 changes: 10 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Langfuse Python SDK",
"build": {
"dockerfile": "Dockerfile"
},
"containerEnv": {
"PATH": "/root/.local/bin:$PATH"
},
"postCreateCommand": "poetry self add poetry-dotenv-plugin && poetry self add poetry-bumpversion && poetry install --all-extras && poetry run pre-commit install && cp .env.template .env"
}