diff --git a/Dockerfile b/Dockerfile index 854071d..8396dac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ ENV TZ=Asia/Seoul RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ apk update && \ apk add build-base libheif vips-dev vips -q && \ - apk add --no-cache openssl-1.1 + apk add --no-cache openssl COPY --from=builder /app ./ diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 60541f2..3222a42 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -1,5 +1,6 @@ generator client { - provider = "prisma-client-js" + provider = "prisma-client-js" + binaryTargets = ["native", "linux-musl-openssl-3.0.x"] } generator dbml { @@ -106,12 +107,12 @@ model Group { } model UserGroup { - userUuid String @map("user_uuid") @db.Uuid - User User @relation(fields: [userUuid], references: [uuid]) - groupUuid String @map("group_uuid") @db.Uuid - Group Group @relation(fields: [groupUuid], references: [uuid], onDelete: Cascade) - createdAt DateTime @default(now()) @map("created_at") - visibility Visibility @map("visibility") @default(Private) + userUuid String @map("user_uuid") @db.Uuid + User User @relation(fields: [userUuid], references: [uuid]) + groupUuid String @map("group_uuid") @db.Uuid + Group Group @relation(fields: [groupUuid], references: [uuid], onDelete: Cascade) + createdAt DateTime @default(now()) @map("created_at") + visibility Visibility @default(Private) @map("visibility") @@id([userUuid, groupUuid]) @@map("user_group")