diff --git a/Dockerfile b/Dockerfile index 09080a7..b67d507 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM rust:latest as build +FROM rust:1.80-slim as build WORKDIR /work COPY . . RUN cargo build -p stateroom-cli --release -FROM gcr.io/distroless/cc-debian11 +FROM debian:bookworm-slim COPY --from=build /work/target/release/stateroom /stateroom ENTRYPOINT [ "/stateroom" ] diff --git a/stateroom-wasm-host/src/wasm_host_factory.rs b/stateroom-wasm-host/src/wasm_host_factory.rs index c0a3ebe..a0b824d 100644 --- a/stateroom-wasm-host/src/wasm_host_factory.rs +++ b/stateroom-wasm-host/src/wasm_host_factory.rs @@ -36,6 +36,7 @@ impl WasmHostFactory { let engine = Engine::default(); tracing::info!(wasm_file=?wasm_file.as_ref(), "Loading WebAssembly module"); let module = Module::from_file(&engine, wasm_file)?; + tracing::info!("WebAssembly module loaded"); Ok(WasmHostFactory { engine: Arc::new(engine),