diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-01-06 13:12:18 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-01-06 13:12:18 +0100 |
commit | 3359f068dc9e8ac036f0f709aeccf11dfba3cf03 (patch) | |
tree | 2a392e893e819a7ef7ea01e953bbddc9dad185f0 /Dockerfile | |
parent | 820298fa61835c53694c4ec58d6c5328947ad4ca (diff) | |
download | reduced_system_layer-3359f068dc9e8ac036f0f709aeccf11dfba3cf03.zip |
No buildin
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -5,12 +5,11 @@ 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/sinewave.c +RUN clang --target=wasm32 -nostdlib -fno-builtin -Wl,--no-entry,--allow-undefined -o /usr/index.wasm /usr/examples/graph.c FROM nginx:alpine EXPOSE 80 COPY --from=build /usr/index.wasm /srv/index.wasm COPY index.htm /srv/index.htm COPY nginx.conf /etc/nginx/nginx.conf -RUN ls -la /srv/ ENTRYPOINT [ "nginx" ] |