route96/Dockerfile

12 lines
249 B
Docker
Raw Normal View History

2024-04-30 21:43:40 +00:00
ARG IMAGE=rust:bookworm
FROM $IMAGE as build
WORKDIR /app/src
COPY . .
RUN cargo install --path . --root /app/build
FROM $IMAGE as runner
WORKDIR /app
COPY --from=build /app/build .
COPY --from=build /app/src/ui ui
ENTRYPOINT ["/app/bin/void_cat"]