From 739ebdd5111df6ef8c693727d6ac2869518979c9 Mon Sep 17 00:00:00 2001 From: Natty Date: Sun, 5 Nov 2023 21:54:55 +0100 Subject: [PATCH] Fixed the Dockerfile structure --- Dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f7184f..205a692 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,9 +23,7 @@ COPY ./ . RUN cargo build --release --locked --workspace --bins -WORKDIR /fe_calckey -COPY ./fe_calckey/frontend ./frontend -WORKDIR /fe_calckey/frontend +WORKDIR /magnetar/fe_calckey/frontend RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm i --frozen-lockfile @@ -41,10 +39,10 @@ COPY --from=build /etc/group /etc/group WORKDIR /magnetar WORKDIR /magnetar/fe_calckey/frontend -COPY --from=build /fe_calckey/frontend/built ./built -COPY --from=build /fe_calckey/frontend/assets ./assets -COPY --from=build /fe_calckey/frontend/client/assets ./client/assets -COPY --from=build /fe_calckey/frontend/assets-be ./assets-be +COPY --from=build /magnetar/fe_calckey/frontend/built ./built +COPY --from=build /magnetar/fe_calckey/frontend/assets ./assets +COPY --from=build /magnetar/fe_calckey/frontend/client/assets ./client/assets +COPY --from=build /magnetar/fe_calckey/frontend/assets-be ./assets-be WORKDIR /magnetar