diff --git a/Dockerfile b/Dockerfile index a36c4b2..a30ffc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,8 @@ RUN python3 /app/code/patch_ui_strings.py COPY patch_index.py /app/code/patch_index.py RUN python3 /app/code/patch_index.py && \ sed -i 's|assets/logo.svg|assets/logo.svg?v=3|g' /app/code/librechat/client/dist/assets/index.*.js && \ - rm -f /app/code/librechat/client/dist/assets/index.*.js.gz /app/code/librechat/client/dist/assets/index.*.js.br + rm -f /app/code/librechat/client/dist/assets/index.*.js.gz /app/code/librechat/client/dist/assets/index.*.js.br && \ + echo "// coop-build-$(date +%s)" >> /app/code/librechat/client/dist/sw.js # PWA chrome colors: LibreChat ships a teal theme_color (#009688) in the web # manifest (the bright green bar Firefox PWAs draw across the top) and black