This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
soleilw
/
job-master
Watch
1
Star
0
Fork
0
Code
Issues
2
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
dockerfile
master
feing
7 months ago
parent
e7413603aa
commit
b4a3f30cde
1 changed files
with
1 additions
and
1 deletions
Unified View
Show Diff Stats
1
1
Dockerfile
+ 1
- 1
Dockerfile
View File
# 创建一个非 root 用户
# 创建一个非 root 用户
RUN
adduser --disabled-password --gecos ''
appuser
RUN
useradd -m -s /bin/bash
appuser
# 将工作目录的所有权更改为新用户
# 将工作目录的所有权更改为新用户
RUN chown -R appuser:appuser /app
RUN chown -R appuser:appuser /app
Write
Preview
Loading…
Cancel
Save