eAPD icon indicating copy to clipboard operation
eAPD copied to clipboard

eAPD Web and API Docker Image Optimization

Open yonassrobi opened this issue 1 year ago • 0 comments

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...

  • Hopefully when we have light weight docker images (~<100MB) and with no critical/high security findings pushed to Dev ECR.

yonassrobi avatar Mar 20 '23 17:03 yonassrobi