Refactor code structure and dependencies

This commit is contained in:
2024-09-27 06:51:14 +07:00
parent 258a35d364
commit 6cc26c0f75
7 changed files with 676 additions and 16 deletions

View File

@@ -26,6 +26,9 @@ COPY --from=node_modules /app/node_modules ./node_modules
# Expose the port
EXPOSE 3000
# run migrations
RUN npm run prisma:migrate
# generate prisma client
RUN npm run prisma:generate