From f45478260ece4e8700d38c8626a3b584bda513b8 Mon Sep 17 00:00:00 2001 From: DynamoFox Date: Mon, 12 Dec 2022 21:39:10 +0100 Subject: [PATCH] Fix missing share.js in public/app-dist folder; Delete unused public/app folder (Docker build) --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d563ef797..4675fa88a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,9 @@ RUN set -x \ && sed -i -e 's/app\/desktop.js/app-dist\/desktop.js/g' src/views/desktop.ejs \ && sed -i -e 's/app\/mobile.js/app-dist\/mobile.js/g' src/views/mobile.ejs \ && sed -i -e 's/app\/setup.js/app-dist\/setup.js/g' src/views/setup.ejs \ - && sed -i -e 's/app\/share.js/app-dist\/share.js/g' src/views/share/*.ejs + && sed -i -e 's/app\/share.js/app-dist\/share.js/g' src/views/share/*.ejs \ + && cp src/public/app/share.js src/public/app-dist/. \ + && rm -rf src/public/app # Some setup tools need to be kept RUN apk add --no-cache su-exec shadow