mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-05-13 13:17:45 +00:00
fix: build errors
This commit is contained in:
parent
c06a92b768
commit
1b6024f1e1
3 changed files with 14 additions and 1 deletions
6
.dockerignore
Normal file
6
.dockerignore
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
node_modules
|
||||||
|
.next
|
||||||
|
.git
|
||||||
|
dist
|
||||||
|
build
|
||||||
|
.env
|
||||||
|
|
@ -3,7 +3,7 @@ FROM node:23-alpine AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk add --no-cache libc6-compat
|
RUN apk add --no-cache libc6-compat
|
||||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
RUN corepack enable && corepack prepare pnpm@11.1.1 --activate
|
||||||
|
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,10 @@ packages:
|
||||||
- "backend"
|
- "backend"
|
||||||
- "frontend"
|
- "frontend"
|
||||||
- "shared"
|
- "shared"
|
||||||
|
allowBuilds:
|
||||||
|
"@prisma/client": true
|
||||||
|
"@prisma/engines": true
|
||||||
|
esbuild: false
|
||||||
|
prisma: true
|
||||||
|
sharp: true
|
||||||
|
unrs-resolver: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue