This commit is contained in:
parent
19be9ff3e3
commit
3c56da0e8d
8
.idea/.gitignore
vendored
Normal file
8
.idea/.gitignore
vendored
Normal 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
8
Dockerfile
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user