Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -91,7 +91,12 @@ RUN git clone https://github.com/exa-labs/exa-mcp-server && cd exa-mcp-server
|
|
91 |
# Check the base image documentation if unsure about the default user
|
92 |
RUN echo "node ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/node && \
|
93 |
chmod 0440 /etc/sudoers.d/node
|
94 |
-
RUN usermod -
|
|
|
|
|
|
|
|
|
|
|
95 |
# Expose the port the app runs on
|
96 |
EXPOSE 7860
|
97 |
USER root
|
|
|
91 |
# Check the base image documentation if unsure about the default user
|
92 |
RUN echo "node ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/node && \
|
93 |
chmod 0440 /etc/sudoers.d/node
|
94 |
+
RUN usermod -aG root node
|
95 |
+
RUN usermod -aG wheel node
|
96 |
+
RUN adduser -S node
|
97 |
+
RUN adduser node -G wheel
|
98 |
+
RUN adduser node -G root
|
99 |
+
RUN echo 'permit nopass :wheel as root' >> /etc/doas.d/doas.conf
|
100 |
# Expose the port the app runs on
|
101 |
EXPOSE 7860
|
102 |
USER root
|