diff --git a/Dockerfile b/Dockerfile index a92cdec4b..a180be107 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,5 +30,8 @@ FROM nginx:alpine COPY --from=builder /src/webapp /app +# Insert wasm type into Nginx mime.types file so they load correctly. +RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types + RUN rm -rf /usr/share/nginx/html \ && ln -s /app /usr/share/nginx/html