Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -80,12 +80,16 @@ RUN apk add --no-cache --virtual .build-deps \
|
|
80 |
rm -rf /var/cache/apk/* /root/.cache /tmp/* && \
|
81 |
echo "Cleanup finished."
|
82 |
|
|
|
|
|
|
|
|
|
83 |
# Switch back to the non-root user defined in the base image (assuming 'node')
|
84 |
# Check the base image documentation if unsure about the default user
|
85 |
-
|
86 |
|
87 |
# Set the working directory (good practice)
|
88 |
-
|
89 |
|
90 |
# Expose the port the app runs on
|
91 |
EXPOSE 7860
|
|
|
80 |
rm -rf /var/cache/apk/* /root/.cache /tmp/* && \
|
81 |
echo "Cleanup finished."
|
82 |
|
83 |
+
USER node
|
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 |
|
94 |
# Expose the port the app runs on
|
95 |
EXPOSE 7860
|