diff options
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" ] |