akiko19191 commited on
Commit
3c49809
·
verified ·
1 Parent(s): d62e535

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -31,22 +31,22 @@ COPY librechat.yaml /app/librechat.yaml
31
  COPY tests.py /app/tests.py
32
 
33
  # Install dependencies
34
- RUN cd /app/api && npm --no-cache install
35
  USER root
36
  # COPY manager.ts /app/packages/mcp/src/manager.ts
37
 
38
  # Install Python and pip
39
  ENV PYTHONUNBUFFERED=1
40
- RUN apk --no-cache add python3-dev git py3-pip bash && ln -sf python3 /usr/bin/python
41
  # RUN apk --update --no-cache add python3~3.10 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
42
  # RUN apk add --update --no-cache git gcc libc-dev libc6-compat build-base mpc1-dev && ln -sf python3 /usr/bin/python
43
- #libc6-compat build-base mpc1-dev libc-dev gcc
44
- RUN pip3 install --no-cache --break-system-packages pexpect setuptools mcp litellm gradio XlsxWriter openpyxl google-genai
45
  # RUN cd /app/packages && git clone --branch patch-1 https://github.com/vaibhavard/actors-mcp-server
46
  # RUN cd /app/packages/actors-mcp-server/ && npm install && npm run build && npm link
47
  # RUN git clone https://github.com/e2b-dev/mcp-server && cd mcp-server/packages/js/ && npm install && npm run build && npm link
48
  # to run on container star
49
- #RUN git clone https://github.com/AIGENHACKER/mcp-hfspace && cd mcp-hfspace && npm install && npm run build && npm link
50
  RUN git clone https://github.com/exa-labs/exa-mcp-server && cd exa-mcp-server && npm install --save axios dotenv && npm run build && npm link
51
  RUN wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -O ngrok.tgz && tar xvzf ngrok.tgz && cp ngrok /usr/local/bin && rm ngrok.tgz
52
  USER node
 
31
  COPY tests.py /app/tests.py
32
 
33
  # Install dependencies
34
+ RUN cd /app/api && npm install
35
  USER root
36
  # COPY manager.ts /app/packages/mcp/src/manager.ts
37
 
38
  # Install Python and pip
39
  ENV PYTHONUNBUFFERED=1
40
+ RUN apk add --update --no-cache python3-dev git py3-pip gcc libc-dev bash libc6-compat build-base mpc1-dev && ln -sf python3 /usr/bin/python
41
  # RUN apk --update --no-cache add python3~3.10 --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
42
  # RUN apk add --update --no-cache git gcc libc-dev libc6-compat build-base mpc1-dev && ln -sf python3 /usr/bin/python
43
+
44
+ RUN pip3 install --no-cache --upgrade --break-system-packages pip pexpect setuptools mcp mcp-simple-pubmed mcp-simple-arxiv litellm gradio XlsxWriter openpyxl google-genai
45
  # RUN cd /app/packages && git clone --branch patch-1 https://github.com/vaibhavard/actors-mcp-server
46
  # RUN cd /app/packages/actors-mcp-server/ && npm install && npm run build && npm link
47
  # RUN git clone https://github.com/e2b-dev/mcp-server && cd mcp-server/packages/js/ && npm install && npm run build && npm link
48
  # to run on container star
49
+ RUN git clone https://github.com/AIGENHACKER/mcp-hfspace && cd mcp-hfspace && npm install && npm run build && npm link
50
  RUN git clone https://github.com/exa-labs/exa-mcp-server && cd exa-mcp-server && npm install --save axios dotenv && npm run build && npm link
51
  RUN wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -O ngrok.tgz && tar xvzf ngrok.tgz && cp ngrok /usr/local/bin && rm ngrok.tgz
52
  USER node