mirror of
https://gh-proxy.ooowl.net/https://github.com/mtrlps-community/lps-community-guide.git
synced 2026-11-22 06:48:55 +08:00
Compare commits
2
Commits
0585b86000
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b6f33e870 | ||
|
|
1f514bc180 |
No files matched your search
+20
@@ -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
|
||||
@@ -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> © 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/).
|
||||
Reference in new issue
Block a user