HuggingFace0920 commited on
Commit
231550a
·
verified ·
1 Parent(s): 1d6559c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -7,14 +7,14 @@ ENV ENABLE_ADMIN_UI=true
7
  ENV ADMIN_USERNAME=admin
8
  ENV ADMIN_PASSWORD=password
9
 
 
 
10
  RUN apt-get update && \
11
  apt-get install -y python3-pip python3-venv && \
12
  python3 -m venv /mcp-proxy-server/venv && \
13
- . /mcp-proxy-server/venv/bin/activate && \
14
- pip install --no-cache-dir huggingface_hub && \
15
- chmod -R 777 /mcp-proxy-server/config && \
16
  mkdir -p /tools && \
17
- chmod -R 777 /tools && \
18
  chmod +x /sync_data.sh
19
 
20
  EXPOSE 3663
 
7
  ENV ADMIN_USERNAME=admin
8
  ENV ADMIN_PASSWORD=password
9
 
10
+ SHELL ["/bin/bash", "-c"]
11
+
12
  RUN apt-get update && \
13
  apt-get install -y python3-pip python3-venv && \
14
  python3 -m venv /mcp-proxy-server/venv && \
15
+ /mcp-proxy-server/venv/bin/pip install --no-cache-dir huggingface_hub && \
 
 
16
  mkdir -p /tools && \
17
+ chmod -R 777 /mcp-proxy-server/config /tools && \
18
  chmod +x /sync_data.sh
19
 
20
  EXPOSE 3663