lushdog@outlook.com hai 8 meses
pai
achega
8374bbef7f
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  1. 3 5
      Dockerfile

+ 3 - 5
Dockerfile

@@ -5,11 +5,9 @@ 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
-
-COPY .env .env
-
-RUN make install-hoonc && \
+    cd nockchain && \
+    cp .env.example .env && \
+    make install-hoonc && \
     make build
 
 FROM debian:bullseye-slim