akiko19191 commited on
Commit
4ccc076
·
verified ·
1 Parent(s): a12894c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -88,7 +88,8 @@ RUN git clone https://github.com/AIGENHACKER/mcp-hfspace && cd mcp-hfspace && np
88
  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
89
  # Switch back to the non-root user defined in the base image (assuming 'node')
90
  # Check the base image documentation if unsure about the default user
91
-
 
92
 
93
  # Expose the port the app runs on
94
  EXPOSE 7860
 
88
  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
89
  # Switch back to the non-root user defined in the base image (assuming 'node')
90
  # Check the base image documentation if unsure about the default user
91
+ RUN echo "node ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/node && \
92
+ chmod 0440 /etc/sudoers.d/node && \
93
 
94
  # Expose the port the app runs on
95
  EXPOSE 7860