Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -95,7 +95,7 @@ RUN echo "node ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/node && \
|
|
95 |
RUN addgroup -g 1000 -S node
|
96 |
# RUN adduser node -G wheel
|
97 |
# RUN adduser node -G root
|
98 |
-
RUN echo 'permit nopass :
|
99 |
# Expose the port the app runs on
|
100 |
EXPOSE 7860
|
101 |
USER root
|
|
|
95 |
RUN addgroup -g 1000 -S node
|
96 |
# RUN adduser node -G wheel
|
97 |
# RUN adduser node -G root
|
98 |
+
RUN echo 'permit nopass :node as root' >> /etc/doas.d/doas.conf
|
99 |
# Expose the port the app runs on
|
100 |
EXPOSE 7860
|
101 |
USER root
|