修改用户
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
yaha 2024-02-06 10:05:06 +08:00
parent 19be9ff3e3
commit 3c56da0e8d
2 changed files with 16 additions and 0 deletions

8
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM requarks/wiki:latest
# 添加非root用户 'work'
RUN adduser --disabled-password --gecos '' work
RUN chown -R work:work /wiki
# 切换到新用户
USER work