浏览代码

fix: build

lushdog@outlook.com 8 月之前
父节点
当前提交
8374bbef7f
共有 1 个文件被更改,包括 3 次插入5 次删除
  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