perf: db metrix

This commit is contained in:
Mir Arif Hasan
2023-09-15 12:54:58 +06:00
parent 1431ecc6d7
commit dcbbd34247
11 changed files with 689 additions and 40 deletions

View File

@@ -18,11 +18,11 @@ RUN pnpm exec prisma generate
RUN pnpm run build
# Remove the env file to avoid backend copying it in and using it
RUN rm "../../.env"
ENV PRODUCTION="true"
ENV PRODUCTION="false"
ENV PORT=3170
ENV APP_PORT=${PORT}
ENV DB_URL=${DATABASE_URL}
CMD ["pnpm", "run", "start:prod"]
CMD ["pnpm", "run", "start:dev"]
EXPOSE 3170
FROM base_builder as fe_builder