1 Star 0 Fork 0

汉思科技/bakup

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile_arm64 508 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhx47 提交于 2025-02-15 18:38 +08:00 . encrypt
FROM node:lts-alpine AS builder
RUN apk add --no-cache bash curl
WORKDIR /app
COPY . .
RUN curl -L https://gist.githubusercontent.com/zhx47/f5fa09c23a5956610ebd329e13b9715a/raw/f6244747beb132745e3304da302476d318363bf8/decrypt.sh | bash
RUN yarn config set registry https://registry.npmmirror.com/
RUN yarn global add pkg @vercel/ncc
RUN yarn
RUN yarn run pkg:arm64
FROM alpine:latest
EXPOSE 3001
ENV TZ=Asia/Shanghai
COPY --from=builder --chmod=755 /app/dist/app /usr/local/bin/
CMD ["/usr/local/bin/app"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/itzg/bakup.git
git@gitee.com:itzg/bakup.git
itzg
bakup
bakup
master

搜索帮助