diff --git a/.changeset/chilly-sloths-remember.md b/.changeset/chilly-sloths-remember.md new file mode 100644 index 00000000..1a0d79c3 --- /dev/null +++ b/.changeset/chilly-sloths-remember.md @@ -0,0 +1,5 @@ +--- +'@snipcode/backend': patch +--- + +Include graphql schema files in the build folder diff --git a/apps/backend/Dockerfile b/apps/backend/Dockerfile index bdb37d2f..ae4152ab 100644 --- a/apps/backend/Dockerfile +++ b/apps/backend/Dockerfile @@ -43,6 +43,12 @@ COPY --chown=node:node --from=builder /app/.yarnrc.yml . COPY --chown=node:node --from=builder /app/apps/backend/dist/src ./apps/backend/src COPY --chown=node:node --from=builder /app/apps/backend/package.json ./apps/backend +COPY --chown=node:node --from=builder /app/apps/backend/src/features/schema.graphql ./apps/backend/src/features/schema.graphql +COPY --chown=node:node --from=builder /app/apps/backend/src/features/users/graphql/schema.graphql ./apps/backend/src/features/users/graphql/schema.graphql +COPY --chown=node:node --from=builder /app/apps/backend/src/features/snippets/graphql/schema.graphql ./apps/backend/src/features/snippets/graphql/schema.graphql +COPY --chown=node:node --from=builder /app/apps/backend/src/features/folders/graphql/schema.graphql ./apps/backend/src/features/folders/graphql/schema.graphql +COPY --chown=node:node --from=builder /app/apps/backend/src/features/auth/graphql/schema.graphql ./apps/backend/src/features/auth/graphql/schema.graphql + COPY --chown=node:node --from=builder /app/packages/domain/package.json ./packages/domain/package.json COPY --chown=node:node --from=builder /app/packages/domain/dist ./packages/domain/dist