mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-24 16:46:05 +08:00
chore: update dockerfile
This commit is contained in:
@ -15,7 +15,7 @@ WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
|
||||
RUN yarn build
|
||||
RUN yarn run docker-build
|
||||
|
||||
# Production image, copy all the files and run next
|
||||
FROM base AS runner
|
||||
|
@ -7,7 +7,8 @@
|
||||
"export": "next export",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"vercel-build": "prisma generate && prisma migrate deploy && next build"
|
||||
"vercel-build": "prisma generate && prisma migrate deploy && next build",
|
||||
"docker-build": "prisma generate && prisma migrate deploy && next build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.10.6",
|
||||
|
Reference in New Issue
Block a user