From 7a5002b65e0ee48d7abe5be136c14648be52b1fa Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 15 Jul 2025 09:35:20 +0200 Subject: [PATCH] =?UTF-8?q?Align=20with=20upstrea=C3=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mealie/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/mealie/Dockerfile b/mealie/Dockerfile index 18210b9e3..ac9baeadd 100644 --- a/mealie/Dockerfile +++ b/mealie/Dockerfile @@ -26,11 +26,13 @@ ENV MEALIE_VERSION="v3.0.1" # Clone the Mealie repository to get the frontend source code WORKDIR /frontend # hadolint ignore=DL3003 -RUN mkdir -p /frontend/tempdir && cd /frontend/tempdir || true && \ +RUN mkdir -p /frontend/tempdir && cd /frontend/tempdir && \ git clone --branch "$MEALIE_VERSION" https://github.com/mealie-recipes/mealie.git . && \ - cp -rf frontend/* /frontend && cd /frontend && rm -r tempdir && \ - yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 && \ - yarn generate + cp -rf frontend/* /frontend && cd /frontend && rm -rf tempdir && \ + yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 + +# Build the frontend +RUN yarn generate # Stage 2: Build the Final Image FROM hkotel/mealie:latest