mirror of
https://github.com/RD17/ambar.git
synced 2026-04-25 15:35:49 +03:00
[PR #270] [CLOSED] Compile FrontEnd as part of building the Docker image #296
Labels
No labels
$$ Paid Support
bug
bug
enhancement
help wanted
invalid
pull-request
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ambar#296
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RD17/ambar/pull/270
Author: @james-jra
Created: 10/26/2019
Status: ❌ Closed
Base:
master← Head:multistage-frontend-docker-build📝 Commits (1)
08280e7Update FrontEnd Docker build to compile source📊 Changes
2 files changed (+8 additions, -10 deletions)
View changed files
📝
FrontEnd/Dockerfile(+8 -2)📝
README.md(+0 -8)📄 Description
Previously, the builder must compile the FrontEnd locally before building the Docker image.
This change moves to a multi-stage Docker build for the FrontEnd: The first stage compiles the FrontEnd code, the second stage packages the build code into the existing nginx-based image.
Also removes relevant documentation for building locally from the Readme.
I know #256 #247 were already marked as "fixed", but I think this approach provides a more consistent approach with building the other application container images.
Now simply build the container image with
cd FrontEnd && docker build .🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.