upgrade rust docker img

This commit is contained in:
Aravinth Manivannan 2021-10-14 16:57:50 +05:30
parent ea4c359b36
commit 7094d55065
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 1 additions and 2 deletions

View File

@ -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