Closed
Description
I am trying to build environment neutral Docker image, so that same image can be used across staging and production without performing two asset:precompile (takes a lot of time to build an image).
Is there a way to create two manifest.json files? (each points to asset_host based on environment)
My current hack -
I build a production docker image and create another docker image from production as a base image for staging - with an extra bash command to replace asset_host in manifest.json with staging CDN.
Problem with this approach is - two docker images for one application, which is not a right way in terms of CI/CD pipelines.
Metadata
Metadata
Assignees
Labels
No labels