fix: resolve the sudo problem.

This commit is contained in:
set 2023-10-23 07:11:16 +08:00
parent 2f772b50f8
commit 616308bcbf

View File

@ -12,7 +12,7 @@ RUN \
RUN \
addgroup notebook &&\
adduser -Ss /bin/bash -g notebook notebook &&\
adduser notebook sudo &&\
echo "notebook ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
echo "notebook:123456" | chpasswd &&\
chown -R notebook:notebook . &&\
mkdir /data &&\