Copy Prisma folder in production

This commit is contained in:
Jesse Wierzbinski 2024-04-07 01:02:54 -10:00
parent 1124f83773
commit fca06c6394
No known key found for this signature in database

View file

@ -23,6 +23,7 @@ COPY --from=install /temp/node_modules /temp/node_modules
WORKDIR /temp WORKDIR /temp
RUN bunx --bun prisma generate RUN bunx --bun prisma generate
RUN bun run prod-build RUN bun run prod-build
COPY prisma /temp
# copy production dependencies and source code into final image # copy production dependencies and source code into final image
# Alpine (musl) causes errors with Bun :( # Alpine (musl) causes errors with Bun :(