How can we enable gzip compression on AWS using docker file for reactjs application

Expected behavior

Actual behavior

How can we enable gzip compression on AWS using a docker file for react.js application.

Additional Information

Steps to reproduce the behavior