tastelikefeet commited on
Commit
ccb4ebf
·
verified ·
1 Parent(s): e833a6b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +30 -0
Dockerfile ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y --no-install-recommends \
6
+ curl \
7
+ wget \
8
+ git \
9
+ vim \
10
+ nano \
11
+ unzip \
12
+ zip \
13
+ build-essential \
14
+ && rm -rf /var/lib/apt/lists/*
15
+
16
+ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
17
+ apt-get install -y nodejs && \
18
+ rm -rf /var/lib/apt/lists/*
19
+
20
+ RUN curl -LsSf https://astral.sh/uv/install.sh | sh
21
+
22
+ ENV PATH=/root/.local/bin:$PATH
23
+ ENV UV_DEFAULT_INDEX=https://mirrors.aliyun.com/pypi/simple/
24
+ ENV PIP_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/
25
+
26
+ RUN pip install --no-cache-dir pydantic mcp-proxy
27
+
28
+ RUN python -m playwright install --with-deps chromium
29
+
30
+ ENTRYPOINT []