HuggingFace0920 commited on
Commit
b3e79cf
·
verified ·
1 Parent(s): 4c1e28a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -5,7 +5,9 @@ COPY sync_data.sh /sync_data.sh
5
  ENV APP_HOME=/mcp-proxy-server
6
 
7
  RUN apt-get update && \
8
- apt-get install -y python3-pip && \
 
 
9
  pip install --no-cache-dir huggingface_hub && \
10
  chmod -R 777 /mcp-proxy-server/config && \
11
  mkdir -p /tools && \
 
5
  ENV APP_HOME=/mcp-proxy-server
6
 
7
  RUN apt-get update && \
8
+ apt-get install -y python3-pip python3-venv && \
9
+ python3 -m venv /mcp-proxy-server/venv && \
10
+ . /mcp-proxy-server/venv/bin/activate && \
11
  pip install --no-cache-dir huggingface_hub && \
12
  chmod -R 777 /mcp-proxy-server/config && \
13
  mkdir -p /tools && \