1 parent ab758d2 commit d515badCopy full SHA for d515bad
1 file changed
Dockerfile
@@ -30,5 +30,11 @@ FROM nginx:alpine
30
31
COPY --from=builder /src/webapp /app
32
33
+# Insert wasm type into Nginx mime.types file so they load correctly.
34
+RUN sed '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types > /tmp/mime.types
35
+RUN cp /tmp/mime.types /etc/nginx/mime.types
36
+
37
+RUN cat /etc/nginx/mime.types
38
39
RUN rm -rf /usr/share/nginx/html \
40
&& ln -s /app /usr/share/nginx/html
0 commit comments