mirror of https://github.com/knative/docs.git
Update Rust version and installation commands (#3314)
This commit is contained in:
parent
f9594c4b12
commit
1ef6a1de55
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue