change order
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-04-19 21:28:59 +01:00
parent d207774bd6
commit eee5181920
+3 -3
View File
@@ -14,6 +14,9 @@ RUN pnpm install --frozen-lockfile
# Replace 'prisma/schema.prisma' with your actual path if different # Replace 'prisma/schema.prisma' with your actual path if different
COPY prisma ./prisma/ COPY prisma ./prisma/
# Ensure env exists (optional safety for containers)
RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi
# Generate Prisma Client for the Linux environment # Generate Prisma Client for the Linux environment
RUN npx prisma generate RUN npx prisma generate
@@ -25,8 +28,5 @@ RUN pnpm build
EXPOSE 3000 EXPOSE 3000
# Ensure env exists (optional safety for containers)
RUN if [ ! -f .env ] && [ -f .env.example ]; then cp .env.example .env; fi
# Using the path confirmed in your previous logs # Using the path confirmed in your previous logs
CMD ["node", "dist/src/main.js"] CMD ["node", "dist/src/main.js"]