mirror of
https://gh.wpcy.net/https://github.com/elementor/elementor.git
synced 2026-04-20 12:23:54 +08:00
## PR Checklist <!-- Please check if your PR fulfills the following requirements: **Filling out the template is required.** Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion. --> - [ ] The commit message follows our guidelines: https://github.com/elementor/elementor/blob/master/.github/CONTRIBUTING.md ## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x" with no spaces eg: [x]. --> - [ ] Bugfix - [ ] Feature - [ ] Code style update (formatting, local variables) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] CI related changes - [ ] Documentation content changes - [ ] Other... Please describe: ## Summary This PR can be summarized in the following changelog entry: * ## Description An explanation of what is done in this PR * ## Test instructions This PR can be tested by following these steps: * ## Quality assurance - [ ] I have tested this code to the best of my abilities - [ ] I have added unittests to verify the code works as intended - [ ] Docs have been added / updated (for bug fixes / features) Fixes # <!--start_gitstream_placeholder--> ### ✨ PR Description Purpose: Fix Docker build flow to correctly generate build artifacts and simplify build script execution by leveraging npm scripts instead of inline commands. Main changes: - Updated `build:docker` npm script to clean output directory, build using Docker multi-stage build, navigate to output, and create zip archive of build artifacts - Simplified Dockerfile by replacing inline dependency installation and build commands with single npm script calls (`prepare-environment:ci` and `build`) - Modified Docker output stage to copy build artifacts from `/app/build` to `/elementor` directory and added `docker-output/` and `baseline-browser-mapping` to build artifacts - Updated `.dockerignore` to exclude `docker-output/` directory instead of `tests` directory to prevent unnecessary layers during Docker builds _Generated by LinearB AI and added by gitStream._ <sub>AI-generated content may contain inaccuracies. Please verify before using. 💡 **Tip:** You can customize your AI Description using **Guidelines** [Learn how](https://docs.gitstream.cm/automation-actions/#describe-changes)</sub> <!--end_gitstream_placeholder-->
15 lines
129 B
Text
15 lines
129 B
Text
node_modules
|
|
packages/node_modules
|
|
build
|
|
tmp
|
|
.git
|
|
.github
|
|
.vscode
|
|
.cursor
|
|
.run
|
|
docs
|
|
local-site
|
|
vendor
|
|
*.log
|
|
*.map
|
|
docker-output/
|