instruction: Create a Dockerfile for Nginx, Node.js with production best practices
output: ```dockerfile
  from the node's memory.If a node loses connectivity to the swarm while it is running a task container
  with access to a config, the task container still has access to its configs, but
  cannot receive updates until the node reconnects to the swarm.You can add or inspect an individual config at any time, or list all
  configs. You cannot remove a config that a running service is
  using. See Rotate a config for a way to
  remove a config without disrupting running services.To update or roll back configs more easily, consider adding a version
  number or date to the config name. This is made easier by the ability to control
  the mount point of the config within a given container.To update a stack, make changes to your Compose file, then re-run docker stack deploy -c <new-compose-file> <stack-name>. If you use a new config in
  that file, your services start using them. Keep in mind that configurations
  are immutable, so you can't change the file for an existing service.
  Instead, you create a new config to use a different fileYou can run docker stack rm to stop the app and take down the stack. This
  removes any config that was created by docker stack deploy with the same stack
  name. This removes all configs, including those not referenced by services and
  those remaining after a docker service update --config-rm.Read more about docker config commandsUse these links to read about specific commands, or continue to the
  example about using configs with a service.docker config createdocker config inspectdocker config lsdocker config rmExamplesThis section includes graduated examples which illustrate how to use
  Docker configs.
  NoteThese examples use a single-engine swarm and unscaled services for
  simplicity. The examples use Linux containers, but Windows containers also
  support configs.Defining and using configs in compose filesThe docker stack command supports defining configs in a Compose file.
  However, the configs key is not supported for docker compose. See
  the Compose file reference for details.Simple example: Get started with configsThis simple example shows how configs work in just a few commands. For a
  real-world example, continue to
  Advanced example: Use configs with a Nginx service.Add a config to Docker. The docker config create command reads standard
  input because the last argument, which represents the file to read the
  config
  ```