Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -80,14 +80,14 @@ RUN apk add --no-cache --virtual .build-deps \
|
|
80 |
rm -rf /var/cache/apk/* /root/.cache /tmp/* && \
|
81 |
echo "Cleanup finished."
|
82 |
|
83 |
-
|
84 |
WORKDIR /app
|
85 |
RUN git clone https://github.com/AIGENHACKER/mcp-hfspace && cd mcp-hfspace && npm install && npm run build && npm link
|
86 |
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
|
87 |
# Switch back to the non-root user defined in the base image (assuming 'node')
|
88 |
# Check the base image documentation if unsure about the default user
|
89 |
|
90 |
-
|
91 |
# Set the working directory (good practice)
|
92 |
|
93 |
|
|
|
80 |
rm -rf /var/cache/apk/* /root/.cache /tmp/* && \
|
81 |
echo "Cleanup finished."
|
82 |
|
83 |
+
|
84 |
WORKDIR /app
|
85 |
RUN git clone https://github.com/AIGENHACKER/mcp-hfspace && cd mcp-hfspace && npm install && npm run build && npm link
|
86 |
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
|
87 |
# Switch back to the non-root user defined in the base image (assuming 'node')
|
88 |
# Check the base image documentation if unsure about the default user
|
89 |
|
90 |
+
USER node
|
91 |
# Set the working directory (good practice)
|
92 |
|
93 |
|