build: 移除Dockerfile中不必要的文件拷贝并添加构建脚本
Build docker and publish / build (20.15.1) (push) Failing after 24s
Build docker and publish / build (20.15.1) (push) Failing after 24s
移除Dockerfile中不必要的/etc目录拷贝,避免镜像体积增大 添加build_docker.sh脚本用于自动化构建和推送镜像
This commit is contained in:
@@ -36,7 +36,6 @@ ENV TZ=Asia/Shanghai
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /app/ppanel /app/ppanel
|
||||
COPY --from=builder /build/etc /app/etc
|
||||
|
||||
# Expose the port (optional)
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user