ibm-avocados/ibmcloud-kubernetes-admin

Decouple frontend and backend

odrodrig opened this issue · 0 comments

WORKDIR /usr/src/app
COPY client/package.json client/yarn.lock ./
RUN yarn
COPY client/. ./
RUN yarn build

After automation is built, revist building frontend and backend in 2 separate containers.

Steps:

  • - Break apart dockerfile into two files: frontend and backend.
  • - Build Docker compose file for local testing
  • - Create a deployment with the two new containers
  • - Deploy new containers
  • - Test deployments
  • - Update CI/CD with new deployments