mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
Copy Prisma folder in production
This commit is contained in:
parent
1124f83773
commit
fca06c6394
|
|
@ -23,6 +23,7 @@ COPY --from=install /temp/node_modules /temp/node_modules
|
|||
WORKDIR /temp
|
||||
RUN bunx --bun prisma generate
|
||||
RUN bun run prod-build
|
||||
COPY prisma /temp
|
||||
|
||||
# copy production dependencies and source code into final image
|
||||
# Alpine (musl) causes errors with Bun :(
|
||||
|
|
|
|||
Loading…
Reference in a new issue