From b2c2e113f2044df02c3c3268d8724beb25b545a6 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 20 Sep 2021 19:39:07 +0200 Subject: [PATCH] Update Dockerfile --- mealie/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mealie/Dockerfile b/mealie/Dockerfile index a981572d0..323b32916 100644 --- a/mealie/Dockerfile +++ b/mealie/Dockerfile @@ -2,8 +2,6 @@ ARG BUILD_FROM ARG BUILD_VERSION FROM ${BUILD_FROM} -COPY rootfs / - ARG BASHIO_VERSION=0.13.1 RUN \ @@ -20,13 +18,16 @@ RUN \ | tar -xzf - --strip 1 -C /tmp/bashio \ && mv /tmp/bashio/lib /usr/lib/bashio \ && ln -s /usr/lib/bashio/bashio /usr/bin/bashio \ - && rm -rf /tmp/bashio \ - \ + && rm -rf /tmp/bashio + +COPY rootfs / + +RUN \ ############### # Adapt image # ############### # Correct data path - && grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/data|g' \ + grep -rl "/app/data" /app | xargs sed -i 's|/app/data|/data|g' \ # Add custom instructions to run.sh && sed -i '1d' /app/mealie/run.sh \ && cat /app/mealie/run.sh >> /run.txt \