Fix copying file between build docker image and run docker image

This commit is contained in:
Nico Burns 2022-03-14 00:55:03 +00:00
parent 62dfef8663
commit d475aeb0cb

View file

@ -16,7 +16,7 @@ RUN cargo build --release
FROM debian:buster-slim FROM debian:buster-slim
# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/* # RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/blessed-rs /usr/local/bin/blessed-rs COPY --from=builder /usr/src/blessed-rs/target/release/blessed-rs /usr/local/bin/blessed-rs
WORKDIR /usr/blessed-rs WORKDIR /usr/blessed-rs
COPY ./static ./static COPY ./static ./static