User story
AS A Developer, I WANT the User Service Docker image to build faster SO THAT
I can test my changes quicker, and improve overall development efficiency.
Details
User service image takes 90 sec. to build.
Try to optimize Docker images :
- no dev dependencies (compiler, linter) in final runtime image
- use a
.dockerignore file
- reduce build layers : regroup RUN instructions in one when possible, reorder them putting those more susceptible to change in the end of Dockerfile
Priority
low
Definition of done
- lower image size (before vs after)
- lower build time
Scope
- Potentially all services with Docker image
Out of scope
Subtasks
User story
AS A Developer, I WANT the User Service Docker image to build faster SO THAT
I can test my changes quicker, and improve overall development efficiency.
Details
User service image takes 90 sec. to build.
Try to optimize Docker images :
.dockerignorefilePriority
low
Definition of done
Scope
Out of scope
Subtasks
.dockerignoreto excludenode_modulesand system files.