1 Star 0 Fork 0

weimeittx/atomicals-js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 841 Bytes
一键复制 编辑 原始数据 按行查看 历史
422450455@qq.com 提交于 2023-11-27 15:54 . first commit
###############################################################################
############## Stage 1: Build the code using a full node image ################
###############################################################################
FROM node:20.2-alpine AS build
WORKDIR /app
COPY . .
RUN yarn install --frozen-lockfile --network-timeout 1800000
RUN yarn build
###############################################################################
########## Stage 2: Copy over the built code to a leaner image ################
###############################################################################
FROM node:20.2-alpine
WORKDIR /app
RUN mkdir /app/wallets
COPY --from=build /app/.env /app/.env
COPY --from=build /app/dist /app/dist
COPY --from=build /app/node_modules /app/node_modules
ENTRYPOINT ["node", "dist/cli.js"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ttx/atomicals-js.git
git@gitee.com:ttx/atomicals-js.git
ttx
atomicals-js
atomicals-js
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385