Explorar o código

update doc to show working example

Mike Kinney %!s(int64=5) %!d(string=hai) anos
pai
achega
b0e44dd258
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      rust/content.md

+ 2 - 2
rust/content.md

@@ -39,8 +39,8 @@ COPY . .
 RUN cargo install --path .
 
 FROM debian:buster-slim
-RUN apt-get update && apt-get install -y libssl
-COPY --from=builder /usr/src/myapp /usr/local/bin/myapp
+RUN apt-get update && apt-get install -y libssl-dev
+COPY --from=builder /usr/src/myapp/target/release/myapp /usr/local/bin/myapp
 CMD ["myapp"]
 ```