mirror of
https://github.com/cinnyapp/cinny.git
synced 2024-11-20 06:49:52 +01:00
update dockerfile to include _redirects in container
This commit is contained in:
parent
e9005d57da
commit
2d2938c8ad
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue