diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-11-22 16:30:19 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-11-22 16:30:19 +0100 |
commit | 533aa1816b2c90b3935504b489e03e6ef87038a6 (patch) | |
tree | 09140f39264c2939a5eb2683d05827894f62dac3 /Dockerfile | |
parent | eda1d8c0bf70fc582a02b32df82d600b8b1cbe25 (diff) | |
download | reduced_system_layer-533aa1816b2c90b3935504b489e03e6ef87038a6.zip |
Update audio
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |