Explorar o código

Update hermes docker base runner (#2776)

Dani Mehrjerdi hai 5 meses
pai
achega
a8b1fa5989
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      apps/hermes/server/Dockerfile

+ 2 - 2
apps/hermes/server/Dockerfile

@@ -14,7 +14,7 @@ WORKDIR /src/apps/hermes/server
 
 RUN --mount=type=cache,target=/root/.cargo/registry cargo build --release
 
-FROM rust:1.82.0
-
+FROM debian:bookworm-slim
+RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
 # Copy artifacts from other images
 COPY --from=build /src/apps/hermes/server/target/release/hermes /usr/local/bin/