Enterprise-CMCS / eAPD

CMS (Centers for Medicare and Medicaid Services) eAPD - Modernizing the APD experience
https://eapd.cms.gov
Other
58 stars 25 forks source link

eAPD Web and API Docker Image Optimization #4622

Open yonassrobi opened 1 year ago

yonassrobi commented 1 year ago

Related to #4609

Ticket for preparing eAPD Web and API images for ECS deployment.

Please find the initial update for web docker image: https://github.com/yonassrobi/eAPD/blob/gf-ecs/web/Dockerfile Updated to use multi-stage pipeline for building web docker image and exporting the dist folder to nginx container.

API docker: https://github.com/yonassrobi/eAPD/blob/gf-ecs/api/Dockerfile Attempted to use multi-stage pipeline for building api docker image and export it to another container that doesn’t container dev tools similar to https://github.com/yonassrobi/eAPD/blob/ecs-fargate-poc/api/Dockerfile but that didn’t work.

This task is done when...