maxmind 7 miesięcy temu
rodzic
commit
8b095ebe89
1 zmienionych plików z 15 dodań i 0 usunięć
  1. 15 0
      Dockerfile.file

+ 15 - 0
Dockerfile.file

@@ -0,0 +1,15 @@
+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"]