diff --git a/langgraph/Dockerfile b/langgraph/Dockerfile index 48f569f..d6321df 100644 --- a/langgraph/Dockerfile +++ b/langgraph/Dockerfile @@ -5,10 +5,8 @@ RUN npm install -g pnpm@10 WORKDIR /app -# Copy package files +# Copy package files and install dependencies COPY package.json pnpm-lock.yaml ./ - -# Install dependencies RUN pnpm install --frozen-lockfile # Copy source code @@ -17,5 +15,6 @@ COPY . . # Expose LangGraph server port EXPOSE 2024 -# Start LangGraph server in production mode -CMD ["pnpm", "exec", "langgraphjs", "dev", "--host", "0.0.0.0", "--no-browser"] +# Use langgraphjs dev with explicit host binding +# The --host flag ensures it binds to 0.0.0.0 not just localhost +CMD ["pnpm", "exec", "langgraphjs", "dev", "--host", "0.0.0.0", "--port", "2024", "--no-browser"]