- FROM debian:bullseye-slim
- RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/*
- COPY ./nockchain /app/bin/
- COPY ./nockchain-wallet /app/wallet/
- WORKDIR /app/data
- COPY entrypoint.sh /app/entrypoint.sh
- RUN chmod +x /app/entrypoint.sh
- # 设置默认命令
- ENTRYPOINT ["/app/entrypoint.sh"]
|