From 533aa1816b2c90b3935504b489e03e6ef87038a6 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Fri, 22 Nov 2024 16:30:19 +0100 Subject: Update audio --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 050a515..ff21beb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # sudo docker run -p 8080:80 -it $(sudo docker build -q .) -FROM alpine as build +FROM alpine AS build RUN apk add clang lld COPY examples /usr/examples COPY reduced_system_layer.c /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/graph.c +RUN clang --target=wasm32 -nostdlib -Wl,--no-entry,--allow-undefined -o /usr/index.wasm /usr/examples/sinewave.c FROM nginx:alpine EXPOSE 80 -- cgit v1.2.3