feat: enhance Docker configuration and update environment variables

- Updated .dockerignore to include additional files and directories for better Docker build context management.
- Modified compose.yaml to add BASE_URL and change BUCKET_NAME to improve environment configuration.
- Refactored Dockerfile to implement a multi-stage build for optimized image size and performance.
- Updated package.json to include a new script for production Prisma generation.
- Adjusted tsconfig files to refine project structure and exclude unnecessary directories.
- Removed delta.mdx.txt file from OpenAI instructions to streamline the service.
- Updated package-lock.json and package.json to upgrade Prisma and related dependencies for improved functionality.
This commit is contained in:
2024-12-05 18:37:34 +07:00
parent ac2014079f
commit 2033d0ec26
12 changed files with 294 additions and 64 deletions

View File

@@ -1,4 +1,15 @@
{
"extends": "./tsconfig.json",
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
}
"exclude": [
"node_modules",
"test",
"dist",
"**/*spec.ts",
"epess-database",
"codegen.ts",
],
"compilerOptions": {
"rootDir": "./src",
"allowJs": true
}
}