Skip to content

Instantly share code, notes, and snippets.

@MarcoPolo
Created May 14, 2020 19:58
Show Gist options
  • Save MarcoPolo/7953f1ca2691405b5b04659027967336 to your computer and use it in GitHub Desktop.
Save MarcoPolo/7953f1ca2691405b5b04659027967336 to your computer and use it in GitHub Desktop.
Naive Docker file
FROM alpine:latest
WORKDIR /app
RUN apk add cargo
COPY . .
RUN cargo build --release
CMD ["/app/target/release/hello"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment