Răsfoiți Sursa

Update content.md

Change absolute path to relative in cargo install
German Lashevich 6 ani în urmă
părinte
comite
694de3d443
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      rust/content.md

+ 1 - 1
rust/content.md

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