From b34804f2800d3712537e26b8613319e012f39eb8 Mon Sep 17 00:00:00 2001 From: Sandeep Rao Date: Fri, 13 Dec 2024 23:56:22 +0530 Subject: [PATCH] Delay copy to after download re-add the fix from upstream --- Dockerfile | 4 +++- public/js/plugin-download.js | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b24dbea..94eabcc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,10 @@ FROM crystallang/crystal:1.0.0-alpine AS builder WORKDIR /Mango -COPY . . RUN apk add --no-cache yarn yaml-static sqlite-static libarchive-dev libarchive-static acl-static expat-static zstd-static lz4-static bzip2-static libjpeg-turbo-dev libpng-dev tiff-dev + +COPY . . + RUN make static || make static FROM library/alpine diff --git a/public/js/plugin-download.js b/public/js/plugin-download.js index a5708cf1..ebdb6809 100644 --- a/public/js/plugin-download.js +++ b/public/js/plugin-download.js @@ -325,8 +325,8 @@ const component = () => { return { key: k, - type: type, - values: values, + type, + values, }; }); }, @@ -340,8 +340,8 @@ const component = () => { value = value ? Date.parse(value).toString() : ''; return { key: i.getAttribute('data-filter-key'), - value: value, - type: type, + value, + type, }; }); },