InkProject / ink

An elegant static blog generator

Home Page:https://inkproject.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于 docker 细化的建议

taadis opened this issue · comments

目前的Dockerfile是这样的

希望能把ink执行文件基于apline单独做一层基础镜像,
这样线上使用的时候,直接部署一层执行ink serve命令即可,
用户只需要编写更新文档即可,更显得 elegant ...

我发布了一个公开的镜像,可以这样拉取使用:

# 镜像仅14.8MB
docker pull taadis/ink-runtime:latest
docker run --name ink-runtime --publish 8000:8000 -d taadis/ink-runtime:latest

同时已发起pull request,希望有所帮助...