From 4c3537aee9bc319ecc5db22852b04ff7d3c65e39 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 1 Sep 2024 22:45:43 +0200 Subject: [PATCH] chore: only copy build folder of frontend for frontend build step --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a6f36bd3f9..30464f87d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,7 +70,9 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \ COPY ./openflow.openapi.yaml /openflow.openapi.yaml COPY ./backend ./ -COPY --from=frontend /frontend /frontend +RUN mkdir -p /frontend + +COPY --from=frontend /frontend/build /frontend/build COPY --from=frontend /backend/windmill-api/openapi-deref.yaml ./windmill-api/openapi-deref.yaml COPY .git/ .git/