diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-11-01 03:28:20 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-11-01 03:28:20 +0100 |
commit | eb0c1592d49de956c8c4d83a831fab3cf0372acb (patch) | |
tree | 51af9b577499b85397267baed0db96046e12aefe /Dockerfile | |
parent | 3d1e81ef18c4b2138b834459262f262e44a3397d (diff) | |
download | reduced_system_layer-eb0c1592d49de956c8c4d83a831fab3cf0372acb.zip |
Simple WebAssembly impl
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ FROM emscripten/emsdk as build COPY reduced_system_layer.c /usr/reduced_system_layer.c -RUN emcc -o /usr/index.wasm /usr/reduced_system_layer.c +RUN emcc -D REDUCED_SYSTEM_LAYER_EXAMPLE -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s EXPORTED_FUNCTIONS=_js_main,_js_init,_js_pixels,_js_frame -o /usr/index.wasm /usr/reduced_system_layer.c FROM nginx:alpine EXPOSE 80 |