mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Align with upstreaù
This commit is contained in:
@@ -26,11 +26,13 @@ ENV MEALIE_VERSION="v3.0.1"
|
|||||||
# Clone the Mealie repository to get the frontend source code
|
# Clone the Mealie repository to get the frontend source code
|
||||||
WORKDIR /frontend
|
WORKDIR /frontend
|
||||||
# hadolint ignore=DL3003
|
# 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 . && \
|
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 -rf 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
|
|
||||||
|
# Build the frontend
|
||||||
|
RUN yarn generate
|
||||||
|
|
||||||
# Stage 2: Build the Final Image
|
# Stage 2: Build the Final Image
|
||||||
FROM hkotel/mealie:latest
|
FROM hkotel/mealie:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user