Update Rust version and installation commands (#3314)

This commit is contained in:
Katie McLaughlin 2021-03-16 08:31:01 +11:00 committed by GitHub
parent f9594c4b12
commit 1ef6a1de55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,13 +1,13 @@
# Use the official Rust image. # Use the official Rust image.
# https://hub.docker.com/_/rust # https://hub.docker.com/_/rust
FROM rust:1.27.0 FROM rust:1.50.0
# Copy local code to the container image. # Copy local code to the container image.
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY . . COPY . .
# Install production dependencies and build a release artifact. # Install production dependencies and build a release artifact.
RUN cargo install RUN cargo install --path .
# Run the web service on container startup. # Run the web service on container startup.
CMD ["hellorust"] CMD ["hellorust"]