瀏覽代碼

fix Dockerfile

Alex Cheema 1 年之前
父節點
當前提交
34748b6b1a
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      Dockerfile

+ 2 - 3
Dockerfile

@@ -22,13 +22,12 @@ RUN git clone https://github.com/ml-explore/mlx.git && cd mlx && mkdir -p build
     make -j && \
     make -j && \
     make install && \
     make install && \
     cd .. && \
     cd .. && \
-    pip install --no-cache-dir . && \
-    rm -rf build mlx
+    pip install --no-cache-dir .
 
 
 RUN pip install --no-cache-dir numpy
 RUN pip install --no-cache-dir numpy
 
 
 # Add library path
 # Add library path
-# ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}"
+ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}"
 
 
 COPY test.py .
 COPY test.py .