remake
This commit is contained in:
1 parent
bcdc0568e0
commit
2c647bb6e5
3 files changed
+138
-17
No files matched your search
+14
-12
@@ -30,18 +30,20 @@ RUN apt-get update && apt-get install -y \
|
||||
RUN pip install --no-cache-dir playwright && \
|
||||
playwright install --with-deps chromium
|
||||
|
||||
# Установка uv
|
||||
RUN pip install --no-cache-dir uv
|
||||
|
||||
# Установка mcp-server-browser-use
|
||||
RUN uv pip install --system mcp-server-browser-use
|
||||
|
||||
# Создание директорий
|
||||
RUN mkdir -p /root/.config/mcp-server-browser-use
|
||||
RUN mkdir -p /root/.config/browser-skills
|
||||
|
||||
EXPOSE 8383
|
||||
# Установка Python зависимостей
|
||||
RUN pip install --no-cache-dir \
|
||||
fastapi \
|
||||
uvicorn \
|
||||
pydantic \
|
||||
browser-use \
|
||||
langchain-openai \
|
||||
langchain \
|
||||
python-dotenv
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["mcp-server-browser-use", "start", "--host", "0.0.0.0", "--port", "8383"]
|
||||
COPY app.py .
|
||||
|
||||
EXPOSE 8383
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
Reference in new issue
Block a user