Browse Source

update doc to show working example

Mike Kinney 5 years ago
parent
commit
b0e44dd258
1 changed files with 2 additions and 2 deletions
  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"]
 ```