lushdog@outlook.com hace 8 meses
padre
commit
c45671ed76
Se han modificado 2 ficheros con 6 adiciones y 3 borrados
  1. 5 2
      Dockerfile
  2. 1 1
      entrypoint.sh

+ 5 - 2
Dockerfile

@@ -5,8 +5,11 @@ RUN apt update && apt install -y wget clang cmake build-essential libclang-dev g
 WORKDIR /app
 
 RUN git clone https://github.com/zorp-corp/nockchain.git && \
-    cd nockchain && \
-    make install-hoonc && \
+    cd nockchain
+
+COPY .env .env
+
+RUN make install-hoonc && \
     make build
 
 FROM debian:bullseye-slim

+ 1 - 1
entrypoint.sh

@@ -2,7 +2,7 @@
 
 echo "starting nockchain with $@"
 
-export RUST_BACKTRACE=full
+export RUST_BACKTRACE=1
 export RUST_LOG=info,nockchain=debug,nockchain_libp2p_io=info,libp2p=info,libp2p_quic=info
 export MINIMAL_LOG_FORMAT=true