From c0a20f5a132026da31ef402ae788d4b96361c222 Mon Sep 17 00:00:00 2001 From: Claas Date: Sun, 21 Dec 2025 21:43:29 +0100 Subject: [PATCH] Move to correct build step --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7da09d6..a8ec292 100644 --- a/Dockerfile +++ b/Dockerfile @@ -80,6 +80,9 @@ RUN apt-get update && apt-get install -y git # Build the app FROM node-base AS build-app WORKDIR /app-build + +# Copy git repository +COPY /.git /.git # Copy build artifacts from core rust wasm build COPY --from=build-core /core/pkg ./core/pkg # Copy tool to compress files @@ -127,8 +130,6 @@ RUN cargo build --package delivery-service --release # Final base image FROM debian:bookworm-slim AS final-delivery-service -# Copy git repository -COPY /.git /.git # Copy the build artifacts from the build stage COPY --from=build-delivery-service /target/release/delivery-service . # The ./app directory is where the delivery service looks for when app static files are requested -- 2.51.2