fix(dockerfile): explicit port binding for Container App health probe
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user