mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 09:12:58 +01:00
Copy deps form builder stage
This commit is contained in:
parent
5b7251a3ae
commit
7fdcc32a10
@ -41,12 +41,9 @@ RUN ln -s /usr/bin/node /usr/local/sbin/node
|
|||||||
WORKDIR /opt/nextcloud_backup/
|
WORKDIR /opt/nextcloud_backup/
|
||||||
|
|
||||||
COPY backend/package.json backend/pnpm-lock.yaml ./
|
COPY backend/package.json backend/pnpm-lock.yaml ./
|
||||||
RUN corepack enable
|
|
||||||
RUN pnpm install
|
|
||||||
|
|
||||||
# Copy all source code
|
|
||||||
|
|
||||||
COPY --from=backend-builder /app/dist .
|
COPY --from=backend-builder /app/dist .
|
||||||
|
COPY --from=backend-builder /app/node_modules ./node_modules
|
||||||
COPY --from=frontend-builder /app/dist ./public
|
COPY --from=frontend-builder /app/dist ./public
|
||||||
|
|
||||||
# Build arguments
|
# Build arguments
|
||||||
|
Loading…
Reference in New Issue
Block a user