From 2f830b2deb305d817c9f5ca646bc960a049afb58 Mon Sep 17 00:00:00 2001 From: artem Date: Mon, 8 Jan 2024 07:42:36 +0300 Subject: [PATCH] docker-file --- Dockerfile | 5 +++++ build-web.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..283f75f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nginx:1.25 + +COPY executor-wasm/ /usr/share/nginx/html/ +COPY data /usr/share/nginx/html/data +COPY assets /usr/share/nginx/html/assets \ No newline at end of file diff --git a/build-web.sh b/build-web.sh index 92d2f0b..947ba95 100755 --- a/build-web.sh +++ b/build-web.sh @@ -1 +1 @@ -wasm-pack build executor-wasm --target web --release --out-dir out +wasm-pack build executor-wasm --target web --release --out-dir pkg