feat(docker): streamline frontend build process and update Docker configuration
- Added a new script `build_frontend_dist.sh` to handle the building of frontend static assets. - Updated `docker-compose.yml` to include a note about running the build script before building the frontend service. - Modified the GitHub Actions workflow to integrate the new build script for frontend assets. - Adjusted the Dockerfile to copy built assets directly from the `dist` directory. - Refined the `.dockerignore` to exclude unnecessary files while keeping the `dist` directory.
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
node_modules
|
||||
dist
|
||||
.git
|
||||
.gitignore
|
||||
README.md
|
||||
.vscode
|
||||
*.log
|
||||
.DS_Store
|
||||
*
|
||||
!dist
|
||||
!nginx.conf
|
||||
!docker-entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user