update dockerfile to include _redirects in container
This commit is contained in:
@@ -13,6 +13,7 @@ FROM nginx:alpine
|
|||||||
|
|
||||||
COPY --from=builder /src/dist /app
|
COPY --from=builder /src/dist /app
|
||||||
COPY --from=builder /src/olm.wasm /app/olm.wasm
|
COPY --from=builder /src/olm.wasm /app/olm.wasm
|
||||||
|
COPY --from=builder /src/_redirects /app/_redirects
|
||||||
|
|
||||||
# Insert wasm type into Nginx mime.types file so they load correctly.
|
# Insert wasm type into Nginx mime.types file so they load correctly.
|
||||||
RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types
|
RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types
|
||||||
|
|||||||
Reference in New Issue
Block a user