Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb committed Aug 2, 2024
1 parent 585ec7f commit b7b7297
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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" ]
Expand Down
1 change: 1 addition & 0 deletions stateroom-wasm-host/src/wasm_host_factory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b7b7297

Please sign in to comment.