mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 22:34:11 +02:00
Update Dockerfile
This commit is contained in:
@@ -8,20 +8,10 @@ ENV SUB_PATH=$SUB_PATH
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Clone the Mealie repository to get the frontend source code
|
# Clone the Mealie repository to get the frontend source code
|
||||||
RUN git clone https://github.com/mealie-recipes/mealie.git .
|
RUN git clone https://github.com/mealie-recipes/mealie.git . && \
|
||||||
|
cd /app/frontend && \
|
||||||
WORKDIR /app/frontend
|
yarn install --prefer-offline --frozen-lockfile --non-interactive --production=false --network-timeout 1000000 && \
|
||||||
|
yarn generate
|
||||||
# Install frontend dependencies
|
|
||||||
RUN yarn install \
|
|
||||||
--prefer-offline \
|
|
||||||
--frozen-lockfile \
|
|
||||||
--non-interactive \
|
|
||||||
--production=false \
|
|
||||||
--network-timeout 1000000
|
|
||||||
|
|
||||||
# Build the frontend with the specified SUB_PATH
|
|
||||||
RUN yarn generate
|
|
||||||
|
|
||||||
# Stage 2: Build the Final Image
|
# Stage 2: Build the Final Image
|
||||||
FROM hkotel/mealie:nightly
|
FROM hkotel/mealie:nightly
|
||||||
|
|||||||
Reference in New Issue
Block a user