mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-28 16:41:52 +08:00
fix: 优化 Docker 构建流程并修复 Ventoy 资源路径
- Dockerfile: 合并 RUN 层减少镜像层数,使用 COPY --chmod 简化权限设置 - init.sh: 指定数据目录为 /etc/one-kvm 确保路径一致 - package-docker.sh: 从 libs/ventoy-img-rs/resources 复制资源并自动解压 xz 文件 - README.md: 修正 docker run 示例格式
This commit is contained in:
@@ -6,7 +6,7 @@ set -e
|
||||
|
||||
# Start one-kvm with default options
|
||||
# Additional options can be passed via environment variables
|
||||
EXTRA_ARGS=""
|
||||
EXTRA_ARGS="-d /etc/one-kvm"
|
||||
|
||||
# Enable HTTPS if requested
|
||||
if [ "${ENABLE_HTTPS:-false}" = "true" ]; then
|
||||
|
||||
Reference in New Issue
Block a user