Refactor code structure and dependencies

This commit is contained in:
2024-09-29 21:46:03 +07:00
parent 34d9ee63e6
commit 88176bddc1
12 changed files with 500 additions and 45 deletions

View File

@@ -26,12 +26,6 @@ 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
# Start the application
CMD ["npm", "run", "start:dev"]