generate prisma before building
This commit is contained in:
parent
07e68cb37b
commit
c9618a4be6
@ -63,10 +63,12 @@ RUN \
|
||||
COPY package.json package-lock.json prisma ./
|
||||
RUN --mount=type=cache,target=/root/.npm npm install --ignore-scripts=false --foreground-scripts --verbose
|
||||
|
||||
|
||||
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
--mount=type=cache,target=/app/node_modules \
|
||||
npm install --ignore-scripts=false --foreground-scripts --verbose && \
|
||||
npx prisma generate
|
||||
npx prisma generate && \
|
||||
npm install --ignore-scripts=false --foreground-scripts --verbose
|
||||
|
||||
|
||||
# Copy the rest of the app code
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "futureporn-our",
|
||||
"private": true,
|
||||
"version": "2.8.29",
|
||||
"version": "2.8.30",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale",
|
||||
|
Loading…
x
Reference in New Issue
Block a user