fix: dockerfile prisma generate
This commit is contained in:
@@ -15,6 +15,7 @@ COPY --from=install /temp/dev/node_modules node_modules
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
RUN bunx prisma generate
|
||||||
RUN bun run build
|
RUN bun run build
|
||||||
|
|
||||||
FROM base AS release
|
FROM base AS release
|
||||||
@@ -26,4 +27,4 @@ RUN bunx prisma generate
|
|||||||
|
|
||||||
USER bun
|
USER bun
|
||||||
EXPOSE 3000/tcp
|
EXPOSE 3000/tcp
|
||||||
ENTRYPOINT ["bun", "run", "start"]
|
ENTRYPOINT ["bun", "run", "start"]
|
||||||
|
|||||||
Reference in New Issue
Block a user