mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-02 17:21:25 +01:00
Merge pull request #11858 from vector-im/hs/wasm-docker
Support application/wasm in Docker image
This commit is contained in:
commit
044720b7e5
@ -30,5 +30,8 @@ FROM nginx:alpine
|
|||||||
|
|
||||||
COPY --from=builder /src/webapp /app
|
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 \
|
RUN rm -rf /usr/share/nginx/html \
|
||||||
&& ln -s /app /usr/share/nginx/html
|
&& ln -s /app /usr/share/nginx/html
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user