Fixed the Dockerfile structure
ci/woodpecker/push/ociImagePush Pipeline failed Details

This commit is contained in:
Natty 2023-11-05 21:54:55 +01:00
parent 3e8afeee62
commit 739ebdd511
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 5 additions and 7 deletions

View File

@ -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