mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
Lint
This commit is contained in:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user