instruction: Create a Dockerfile for Nginx with production best practices
output: ```dockerfile
  From SubobjectPath Type Reason Message
   --------- -------- ----- ---- ------------- ---- ------ -------
   20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-qrm3m
   20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-3ntk0
   20s 20s 1 {replication-controller } Normal SuccessfulCreate Created pod: nginx-4ok8v
  Here, three pods are created, but none is running yet, perhaps because the image is being pulled.
  A little later, the same command may show:
  Pods Status: 3 Running / 0 Waiting / 0 Succeeded / 0 Failed
  To list all the pods that belong to the ReplicationController in a machine readable form, you can use a command like this:
  pods=$(kubectl get pods --selector=app=nginx --output=jsonpath={.items..metadata.name})
  echo $pods
  The output is similar to this:
  nginx-3ntk0 nginx-4ok8v nginx-qrm3m
  Here, the selector is the same as the selector for the ReplicationController (seen in the
  kubectl describe output), and in a different form in replication.yaml. The --output=jsonpath option
  specifies an expression with the name
  ```