summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-11-22 16:30:19 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-11-22 16:30:19 +0100
commit533aa1816b2c90b3935504b489e03e6ef87038a6 (patch)
tree09140f39264c2939a5eb2683d05827894f62dac3 /Dockerfile
parenteda1d8c0bf70fc582a02b32df82d600b8b1cbe25 (diff)
downloadreduced_system_layer-533aa1816b2c90b3935504b489e03e6ef87038a6.zip
Update audio
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
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