From 2afdeaedbfb488f20cdc1cca7ce01a915df4d53a Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Fri, 1 Nov 2024 22:30:29 +0100 Subject: wasm: Implement some events --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 1967156..9875b94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ FROM alpine as build RUN apk add clang lld +COPY examples/ui.c /usr/examples/ui.c COPY reduced_system_layer.c /usr/reduced_system_layer.c -RUN clang -D REDUCED_SYSTEM_LAYER_EXAMPLE --target=wasm32 -nostdlib -Wl,--no-entry,--allow-undefined -o /usr/index.wasm /usr/reduced_system_layer.c +COPY graphics.c /usr/graphics.c +RUN clang --target=wasm32 -nostdlib -Wl,--no-entry,--allow-undefined -o /usr/index.wasm /usr/examples/ui.c FROM nginx:alpine EXPOSE 80 -- cgit v1.2.3