Dockerfile.file 318 B

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