diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -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 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1f985c3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM requarks/wiki:latest + +# 添加非root用户 'work' +RUN adduser --disabled-password --gecos '' work + +RUN chown -R work:work /wiki +# 切换到新用户 +USER work \ No newline at end of file