Skip to content

Commit

Permalink
build(Dockerfile): 将用户从 1000 切换为 root
Browse files Browse the repository at this point in the history
- 将 USER 指令从 1000 修改为 root,以使用超级用户权限
  • Loading branch information
azsymfsnb committed Jan 10, 2025
1 parent 43c678f commit 0ff3dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY ./tieba-sign /tieba-sign

ENV bduss ""

USER 1000
USER root

WORKDIR /

Expand Down

0 comments on commit 0ff3dfa

Please sign in to comment.