upgrade rust docker img
This commit is contained in:
parent
ea4c359b36
commit
7094d55065
1 changed files with 1 additions and 2 deletions
|
@ -8,12 +8,11 @@ RUN yarn install
|
|||
COPY . .
|
||||
RUN make frontend
|
||||
|
||||
FROM rust:1.51.0-slim-buster as rust
|
||||
FROM rust:1-slim-bullseye as rust
|
||||
WORKDIR /src
|
||||
RUN apt-get update && apt-get install -y git
|
||||
COPY . /src
|
||||
COPY --from=frontend /src/static/cache/bundle /src/static/cache/bundle
|
||||
ENV RUST_BACKTRACE=1
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
|
Loading…
Reference in a new issue