Browse Source

fix: build

lushdog@outlook.com 8 tháng trước cách đây
mục cha
commit
8374bbef7f
1 tập tin đã thay đổi với 3 bổ sung5 xóa
  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