-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: 增加docker部署server端 #118
Comments
这里指的是docker部署piclist-core吧 |
是的,封装一个piclist-core容器 |
可 我测试测试 后续的更新会在piclist-core的仓库内 |
我对Dockerfile不是很熟,可能大概这样: FROM alpine
# 安装 Node.js 和 npm
RUN apk add --no-cache nodejs npm
# 安装 sharp 依赖
RUN npm install sharp
RUN npm install piclist -g
# 暴露端口
EXPOSE 36677
# 数据卷,用于挂载配置
VOLUME /config
# 启动命令
CMD ["picgo-server", "-c", "/config/config.json"] |
added 2de1a1f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
前置阅读 | Pre-reading
PicList的版本 | PicList Version
latest
系统信息 | System Information
All
功能请求 | Feature request
封装docker便于部署,暴漏server端口,持久化config文件
The text was updated successfully, but these errors were encountered: