1 parent d515bad commit 625c21aCopy full SHA for 625c21a
1 file changed
Dockerfile
@@ -31,10 +31,7 @@ FROM nginx:alpine
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
+RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types
38
39
RUN rm -rf /usr/share/nginx/html \
40
&& ln -s /app /usr/share/nginx/html
0 commit comments