chore: Add turbo.json to Dockerfiles for improved build configuration
Build, Test, and Push CFDM Docker Image / test (push) Successful in 1m0s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Failing after 29s
Build, Test, and Push CFDM Docker Image / update-wiki (push) Successful in 8s
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped
Build, Test, and Push CFDM Docker Image / test (push) Successful in 1m0s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Failing after 29s
Build, Test, and Push CFDM Docker Image / update-wiki (push) Successful in 8s
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped
This commit is contained in:
@@ -17,6 +17,7 @@ COPY packages/db/package.json packages/db/
|
|||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
COPY apps apps
|
COPY apps apps
|
||||||
COPY packages packages
|
COPY packages packages
|
||||||
|
COPY turbo.json ./
|
||||||
COPY VERSION VERSION
|
COPY VERSION VERSION
|
||||||
RUN pnpm turbo build --filter=web --filter=@cfdm/api
|
RUN pnpm turbo build --filter=web --filter=@cfdm/api
|
||||||
|
|
||||||
|
|||||||
@@ -17,5 +17,6 @@ COPY packages/db/package.json packages/db/
|
|||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
COPY apps apps
|
COPY apps apps
|
||||||
COPY packages packages
|
COPY packages packages
|
||||||
|
COPY turbo.json ./
|
||||||
RUN pnpm turbo build --filter=@cfdm/shared --filter=@cfdm/db --filter=@cfdm/api
|
RUN pnpm turbo build --filter=@cfdm/shared --filter=@cfdm/db --filter=@cfdm/api
|
||||||
CMD ["sh", "-c", "pnpm --filter @cfdm/api test && pnpm --filter web test"]
|
CMD ["sh", "-c", "pnpm --filter @cfdm/api test && pnpm --filter web test"]
|
||||||
|
|||||||
Reference in New Issue
Block a user