diff --git a/Dockerfile b/Dockerfile index 9d5596a..9706f90 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ COPY . /app WORKDIR /app # install protoc -RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes protobuf-compiler libprotobuf-dev ca-certificates +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes protobuf-compiler libprotobuf-dev # build app RUN cargo build --release @@ -16,6 +16,8 @@ RUN cargo build --release # use a slim image FROM debian:bullseye-slim +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes ca-certificates + # copy the runtime files COPY --from=builder /app/target/release/namada-faucet /app/server WORKDIR /app