mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix docker build
This commit is contained in:
parent
fd2f3be663
commit
e8ffe31330
@ -2,6 +2,7 @@ FROM oven/bun AS builder
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json bun.lock .
|
||||
COPY patches patches
|
||||
RUN bun install --production
|
||||
|
||||
COPY src src
|
||||
|
@ -113,7 +113,9 @@ async function getEntries({
|
||||
.leftJoin(videos, eq(videos.pk, entryVideoJoin.videoPk))
|
||||
.as("videos");
|
||||
const videosJ = db
|
||||
.select({ videos: sql`coalesce(json_agg("videos"), '[]'::json)`.as("videos") })
|
||||
.select({
|
||||
videos: sql`coalesce(json_agg("videos"), '[]'::json)`.as("videos"),
|
||||
})
|
||||
.from(videosQ)
|
||||
.as("videos_json");
|
||||
|
||||
|
@ -1,5 +1,10 @@
|
||||
import { beforeAll, describe, expect, it } from "bun:test";
|
||||
import { createSerie, getSerie, getShowsByStudio, getStudio } from "tests/helpers";
|
||||
import {
|
||||
createSerie,
|
||||
getSerie,
|
||||
getShowsByStudio,
|
||||
getStudio,
|
||||
} from "tests/helpers";
|
||||
import { expectStatus } from "tests/utils";
|
||||
import { madeInAbyss } from "~/models/examples";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user