Docker image doesn't conform to best practices #8360
Labels
state:breaking
Breaking change requires major version increment and `BREAKING CHANGE` commit message
state:released
Released as stable version
state:released-alpha
Released as alpha version
state:released-beta
Released as beta version
type:feature
New feature or improvement of existing feature
New Feature / Enhancement Checklist
Current Limitation
The Dockerfile currently doesn't conform to the docker best practices or alpine recommendations. This results in a larger than necessary compressed/decompressed image.
Feature / Enhancement Description
The current compressed parse-server image size(~93MB) can be as close as possible to the lts-alpine image size (~50MB) by following best practices for constructing a Dockerfile. I've built a docker image of parse-server:6.0.0-alpha.17 with the changes in this PR and it resulted in a 68MB compressed image compared to the parse-community version of 93MB; 27% smaller.
Example Use Case
Create an image from this image.
Alternatives / Workarounds
Use bloated image as is.
3rd Party References
Noted in limitation links.
The text was updated successfully, but these errors were encountered: