mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02:00
Lint
This commit is contained in:
@@ -24,9 +24,10 @@ ENV SUB_PATH=$SUB_PATH
|
|||||||
ENV MEALIE_VERSION="v2.8.0"
|
ENV MEALIE_VERSION="v2.8.0"
|
||||||
|
|
||||||
# Clone the Mealie repository to get the frontend source code
|
# Clone the Mealie repository to get the frontend source code
|
||||||
# hadolint ignore=DL3003
|
|
||||||
WORKDIR /frontend
|
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 && \
|
cp -rf frontend/* /frontend && cd /frontend && rm -r tempdir && \
|
||||||
yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 && \
|
yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 && \
|
||||||
yarn generate
|
yarn generate
|
||||||
@@ -48,7 +49,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
S6_SERVICES_GRACETIME=0
|
S6_SERVICES_GRACETIME=0
|
||||||
|
|
||||||
# Correct data path
|
# Correct data path
|
||||||
# hadolint ignore=DL4006
|
# hadolint ignore=DL4006,DL3003
|
||||||
RUN \
|
RUN \
|
||||||
# Copy frontend
|
# Copy frontend
|
||||||
cd /opt/mealie/lib/python*/site-packages/mealie && \
|
cd /opt/mealie/lib/python*/site-packages/mealie && \
|
||||||
|
|||||||
Reference in New Issue
Block a user