소스 검색

Update content.md

Change absolute path to relative in cargo install
German Lashevich 6 년 전
부모
커밋
694de3d443
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rust/content.md

+ 1 - 1
rust/content.md

@@ -18,7 +18,7 @@ FROM %%IMAGE%%:1.31
 WORKDIR /usr/src/myapp
 COPY . .
 
-RUN cargo install --path /usr/src/myapp
+RUN cargo install --path .
 
 CMD ["myapp"]
 ```