···1313WORKDIR /usr/src/myivo-server
1414COPY server .
15151616+# point to minimised, production versions of build artefacts
1717+RUN sed -i "s|build/app|build/app.min|g" files/index.html
1618RUN cargo install --profile release --locked --path .
17191820# run on different image
···24262527WORKDIR /root
26282727-COPY --from=build-js /usr/src/myivo/index.html ./
2828-# point to minimised, production versions of build artefacts
2929-RUN sed -i "s|build/app|build/app.min|g" index.html
3029COPY --from=build-js /usr/src/myivo/images ./images
3130COPY --from=build-js /usr/src/myivo/fonts ./fonts
3231COPY --from=build-js /usr/src/myivo/build ./build