Closed charlesjliu closed 6 years ago
At the moment, the docker image for the api is generated by copying the src/ files to the docker image, installing all the packages (devDependencies too) and running babel in the container on the src/ files, before running the server.
api
src/
This is a bloated process that can be streamlined with the help of a preliminary step that generates a builder image: https://medium.com/@guillaumejacquart/node-js-docker-workflow-12febcc0eed8
Acceptance Criteria
At the moment, the docker image for the
api
is generated by copying thesrc/
files to the docker image, installing all the packages (devDependencies too) and running babel in the container on thesrc/
files, before running the server.This is a bloated process that can be streamlined with the help of a preliminary step that generates a builder image: https://medium.com/@guillaumejacquart/node-js-docker-workflow-12febcc0eed8
Acceptance Criteria