Files
Message-Push-Nest/Dockerfile.release
T
zimonianhua fbf7885131
Docker Build and Push / build (push) Has been cancelled
custom-deploy-your-server / build-deploy (push) Has been cancelled
deploy-demo-site / build-deploy (push) Has been cancelled
Deploy Docs to GitHub Pages / build (push) Has been cancelled
Deploy Docs to GitHub Pages / Deploy (push) Has been cancelled
build: 分离开发与发布环境的 Docker 构建配置
- 新增 Dockerfile.release 用于生产环境,仅包含运行所需的最小依赖
- 重构原 Dockerfile 为多阶段构建,集成前端构建与后端编译
- 更新 .goreleaser.yaml 以使用新的发布镜像配置
- 新增 GitHub Actions 工作流用于自动构建和推送 Docker 镜像
2026-02-10 19:57:51 +08:00

17 lines
247 B
Docker

FROM debian:latest
ENV TZ=Asia/Shanghai
RUN apt update \
&& apt install -y ca-certificates \
&& update-ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY ./ /app/
WORKDIR /app
EXPOSE 8000
CMD ["/app/Message-Nest"]