Update Dockerfile
Browse files- Dockerfile +7 -5
Dockerfile
CHANGED
|
@@ -83,9 +83,8 @@ RUN apk add --no-cache --virtual .build-deps \
|
|
| 83 |
apk del .build-deps && \
|
| 84 |
rm -rf /var/cache/apk/* /root/.cache /tmp/* && \
|
| 85 |
echo "Cleanup finished."
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
RUN ngrok config add-authtoken $NGROK_AUTHTOKEN
|
| 89 |
# RUN su root
|
| 90 |
USER root
|
| 91 |
WORKDIR /app
|
|
@@ -95,6 +94,9 @@ RUN git clone https://github.com/exa-labs/exa-mcp-server && cd exa-mcp-server
|
|
| 95 |
EXPOSE 7860
|
| 96 |
USER root
|
| 97 |
RUN npm install -g express ejs chart.js && npm cache clean --force
|
| 98 |
-
|
| 99 |
-
|
|
|
|
|
|
|
|
|
|
| 100 |
CMD ["npm", "run", "backend"]
|
|
|
|
| 83 |
apk del .build-deps && \
|
| 84 |
rm -rf /var/cache/apk/* /root/.cache /tmp/* && \
|
| 85 |
echo "Cleanup finished."
|
| 86 |
+
|
| 87 |
+
|
|
|
|
| 88 |
# RUN su root
|
| 89 |
USER root
|
| 90 |
WORKDIR /app
|
|
|
|
| 94 |
EXPOSE 7860
|
| 95 |
USER root
|
| 96 |
RUN npm install -g express ejs chart.js && npm cache clean --force
|
| 97 |
+
|
| 98 |
+
USER node
|
| 99 |
+
RUN ngrok config add-authtoken 2vPTfcN3MOK2T12aE2fxtBzjxue_6ejqTQUkkWqZfRm2QAN49
|
| 100 |
+
|
| 101 |
+
USER root
|
| 102 |
CMD ["npm", "run", "backend"]
|