From 04c622b0c78a28a4296e3b1cfc1122307d6dd84e Mon Sep 17 00:00:00 2001 From: ellwoodb Date: Thu, 22 Aug 2024 22:27:33 +0200 Subject: [PATCH] Upgraded from bullseye to bookworm; Removed expose --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b4a93fce..03b16d65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Builing Stage ARG RUST_VERSION=1.80.1 -FROM rust:${RUST_VERSION}-slim-bullseye AS build +FROM rust:${RUST_VERSION}-slim-bookworm AS build WORKDIR /app RUN --mount=type=bind,source=src,target=src \ @@ -14,13 +14,10 @@ EOF # Final Stage -FROM debian:bullseye-slim AS final +FROM debian:bookworm-slim AS final COPY --from=build /bifrost /app/bifrost -EXPOSE 80 -EXPOSE 443 - WORKDIR /app CMD ["/app/bifrost"]