new
This commit is contained in:
1 parent
2e81f213fc
commit
152eb975ba
5 files changed
+188
No files matched your search
+49
@@ -0,0 +1,49 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
wget \
|
||||
gnupg \
|
||||
curl \
|
||||
unzip \
|
||||
libglib2.0-0 \
|
||||
libnss3 \
|
||||
libnspr4 \
|
||||
libdbus-1-3 \
|
||||
libatk1.0-0 \
|
||||
libatk-bridge2.0-0 \
|
||||
libcups2 \
|
||||
libdrm2 \
|
||||
libxkbcommon0 \
|
||||
libxcomposite1 \
|
||||
libxdamage1 \
|
||||
libxfixes3 \
|
||||
libxrandr2 \
|
||||
libgbm1 \
|
||||
libpango-1.0-0 \
|
||||
libcairo2 \
|
||||
libasound2 \
|
||||
libatspi2.0-0 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install uv
|
||||
RUN pip install uv
|
||||
|
||||
# Install mcp-server-browser-use with all dependencies
|
||||
RUN uvx --from "mcp-server-browser-use[cli]" pip install mcp-server-browser-use
|
||||
|
||||
# Install Playwright browsers
|
||||
RUN mcp-server-browser-use install-browser
|
||||
|
||||
# Create directories for config and data
|
||||
RUN mkdir -p /root/.config/mcp-server-browser-use
|
||||
RUN mkdir -p /root/.config/browser-skills
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8383
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Default command
|
||||
CMD ["mcp-server-browser-use", "start", "--host", "0.0.0.0", "--port", "8383"]
|
||||
Reference in new issue
Block a user