派生自 Chaospott/site
shrink docker image size
这个提交包含在:
+7
-5
@@ -1,6 +1,8 @@
|
|||||||
FROM jekyll/jekyll
|
from jekyll/jekyll as builder
|
||||||
|
add . /srv/jekyll
|
||||||
|
run mkdir /site
|
||||||
|
run whoami
|
||||||
|
run jekyll build --source /srv/jekyll --destination /tmp
|
||||||
|
|
||||||
ADD . /srv/jekyll
|
from nginx:alpine
|
||||||
WORKDIR /srv/jekyll
|
copy --from=builder /tmp /usr/share/nginx/html
|
||||||
|
|
||||||
CMD jekyll serve -H 0.0.0.0
|
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户