Skip to content
Snippets Groups Projects
Commit 4e713ed2 authored by Xiao Gui's avatar Xiao Gui
Browse files

fix symlinks

parent e53929a2
No related branches found
No related tags found
No related merge requests found
......@@ -48,11 +48,13 @@ RUN apt upgrade -y && apt update && apt install brotli
RUN mkdir /iv
COPY --from=builder /iv/dist/aot /iv
COPY --from=builder /iv/storybook-static /iv/storybook-static
WORKDIR /iv
# Remove duplicated assets. Use symlink instead.
RUN rm -rf ./storybook-static/assets
RUN ln -s ./assets ./storybook-static/assets
WORKDIR /iv/storybook-static
RUN rm -rf ./assets
RUN ln -s ../assets ./assets
WORKDIR /iv
RUN for f in $(find . -type f); do gzip < $f > $f.gz && brotli < $f > $f.br; done
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment