This commit is contained in:
Alexandre
2025-05-27 15:26:45 +02:00
committed by GitHub
parent 2dacd7a4d0
commit 1f7babe5ea

View File

@@ -24,9 +24,10 @@ ENV SUB_PATH=$SUB_PATH
ENV MEALIE_VERSION="v2.8.0"
# Clone the Mealie repository to get the frontend source code
# hadolint ignore=DL3003
WORKDIR /frontend
RUN mkdir tempdir && cd tempdir && git clone --branch "$MEALIE_VERSION" https://github.com/mealie-recipes/mealie.git . && \
# hadolint ignore=DL3003
RUN mkdir -p /frontend/tempdir && cd /frontend/tempdir || true && \
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
@@ -48,7 +49,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_SERVICES_GRACETIME=0
# Correct data path
# hadolint ignore=DL4006
# hadolint ignore=DL4006,DL3003
RUN \
# Copy frontend
cd /opt/mealie/lib/python*/site-packages/mealie && \