diff --git a/client/Dockerfile b/client/Dockerfile index 76e53ed49..42d23322a 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -24,6 +24,8 @@ RUN echo 'server {\ }\ }' > /etc/nginx/sites-available/default +RUN mv ./nginx/wasm.conf /etc/nginx/conf.d/wasm.conf + # Running required steps to prepare the web app prod build RUN npm install RUN npm run build diff --git a/client/nginx/wasm.conf b/client/nginx/wasm.conf new file mode 100644 index 000000000..686608e1e --- /dev/null +++ b/client/nginx/wasm.conf @@ -0,0 +1,3 @@ +types { + application/wasm wasm; +}