instruction: Create a Dockerfile for Alpine Linux with production best practices
output: ```dockerfile
  from within your project directory in the second terminal, or by
  hitting CTRL+C in the original terminal where you started the app.Step 4: Edit the Compose file to use Compose WatchEdit the compose.yaml file in your project directory to use watch so you can preview your running Compose services which are automatically updated as you edit and save your code:
  
  services:
   web:
   build: .
   ports:
   - "8000:5000"
   develop:
   watch:
   - action: sync
   path: .
   target: /code
   redis:
   image: "redis:alpine"Whenever a file is changed, Compose syncs the file to the corresponding location under /code inside the container. Once copied, the bundler updates the running application without a restart.For more information on how Compose Watch works, see
  Use Compose Watch. Alternatively, see
  Manage data in containers for other options.
  NoteFor this example to work, the --debug option is added to the Dockerfile. The --debug option in Flask enables automatic code reload, making it possible to work on the backend API without the need to restart or rebuild the container.
  After changing the .py file, subsequent API calls will use the new code, but the browser UI will not automatically refresh in this small example. Most frontend development servers include native live reload support that works with Compose.Step 5: Re-build and run the app with Compose
  ```