instruction: Create a Dockerfile for Nginx with production best practices
output: ```dockerfile
  From SubObjectPath Type Reason Message
   --------- -------- ----- ---- ------------- -------- ------ -------
   1m 1m 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-2035384211 to 3
   22s 22s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 1
   22s 22s 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 2
   22s 22s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 2
   21s 21s 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 1
   21s 21s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-1564180365 to 3
   13s 13s 1 {deployment-controller } Normal ScalingReplicaSet Scaled down replica set nginx-deployment-2035384211 to 0
   13s 13s 1 {deployment-controller } Normal ScalingReplicaSet Scaled up replica set nginx-deployment-3066724191 to 1
  To fix this, you need to rollback to a previous revision of Deployment that is stable.
  
  Checking Rollout History of a Deployment
  Follow the steps given below to check the rollout history:
  
  First, check the revisions of this Deployment:
  kubectl rollout history deployment/nginx-deployment
  The output is similar to this:
  deployments "nginx-deployment"
  REVISION CHANGE-CAUSE
  1 kubectl apply --filename=https://k8s.io/examples/controllers/nginx-deployment.yaml
  2 kubectl set image deployment/nginx-deployment nginx=nginx:1.16.1
  3 kubectl set image deployment/nginx-deployment nginx=nginx:1.161
  CHANGE-CAUSE is copied
  ```