Compare commits

..
2 Commits
Author SHA1 Message Date
fenychn0206 9b6f33e870 docs(readme): change copyright style 2026-11-18 14:00:57 +08:00
TonyV2Intl 1f514bc180 Create Docker Config 2026-11-06 14:39:49 +08:00
3 changed files with 22 additions and 22 deletions

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
FROM python:3.11-slim AS builder
WORKDIR /app
RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
rm -rf /var/lib/apt/lists/*
RUN git clone --depth=1 https://github.com/mtrlps-community/lps-community-guide.git . && \
rm -rf .git/hooks .git/logs
RUN pip install --no-cache-dir \
mkdocs-material \
mkdocs-git-revision-date-localized-plugin
RUN mkdocs build
FROM nginx:alpine
COPY --from=builder /app/site /usr/share/nginx/html
EXPOSE 80
+2 -3
View File
@@ -23,6 +23,5 @@ mkdocs serve
这里也非常感谢参与本项目的[朋友们](https://github.com/mtrlps-community/lps-community-guide/graphs/contributors)和为本项目捐赠的[朋友们](https://www.lpsguide.cn/about/sponsorship/)。
---
<samp><b>lps-community-guide</b> &copy; MTR Let's Play Community Team<br>code is licensed under <a href="LICENSE">MIT License</a>, <br>wikis are licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons BY-SA 4.0</a>.</samp>
> Made with ❤️ by [**Let's Play Community Team**](https://github.com/mtrlps-community) | [Website](https://www.lpsguide.cn/) · [Status]([https://afdian.com/a/fenychn0206](https://status.lpsguide.cn/))
> <br>Code is licensed under [MIT LICENSE](LICENSE) and docs are licensed under [Creative Commons BY-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).
-19
View File
@@ -1,19 +0,0 @@
{
"$schema": "https://schema.railpack.com",
"packages": { "python": "3.11" },
"steps": {
"build-site": {
"inputs": [{ "step": "packages:mise" }],
"commands": [
"pip install mkdocs-material mkdocs-git-revision-date-localized-plugin",
"mkdocs build"
]
}
},
"deploy": {
"startCommand": "nginx -g \"daemon off;\"",
"inputs": [
{ "step": "build-site", "include": ["site"] }
]
}
}