Fixed the Dockerfile structure
ci/woodpecker/push/ociImagePush Pipeline failed
Details
ci/woodpecker/push/ociImagePush Pipeline failed
Details
This commit is contained in:
parent
3e8afeee62
commit
739ebdd511
12
Dockerfile
12
Dockerfile
|
@ -23,9 +23,7 @@ COPY ./ .
|
||||||
|
|
||||||
RUN cargo build --release --locked --workspace --bins
|
RUN cargo build --release --locked --workspace --bins
|
||||||
|
|
||||||
WORKDIR /fe_calckey
|
WORKDIR /magnetar/fe_calckey/frontend
|
||||||
COPY ./fe_calckey/frontend ./frontend
|
|
||||||
WORKDIR /fe_calckey/frontend
|
|
||||||
|
|
||||||
RUN corepack enable && corepack prepare pnpm@latest --activate && pnpm i --frozen-lockfile
|
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
|
||||||
|
|
||||||
WORKDIR /magnetar/fe_calckey/frontend
|
WORKDIR /magnetar/fe_calckey/frontend
|
||||||
COPY --from=build /fe_calckey/frontend/built ./built
|
COPY --from=build /magnetar/fe_calckey/frontend/built ./built
|
||||||
COPY --from=build /fe_calckey/frontend/assets ./assets
|
COPY --from=build /magnetar/fe_calckey/frontend/assets ./assets
|
||||||
COPY --from=build /fe_calckey/frontend/client/assets ./client/assets
|
COPY --from=build /magnetar/fe_calckey/frontend/client/assets ./client/assets
|
||||||
COPY --from=build /fe_calckey/frontend/assets-be ./assets-be
|
COPY --from=build /magnetar/fe_calckey/frontend/assets-be ./assets-be
|
||||||
|
|
||||||
WORKDIR /magnetar
|
WORKDIR /magnetar
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue