instruction: Create a Dockerfile for compose
output: ```dockerfile
  from passing validation1.21.1(2018-04-27)Bug fixesIn 1.21.0, we introduced a change to how project names are sanitized for
  internal use in resource names. This caused issues when manipulating an
  existing, deployed application whose name had changed as a result.
  This release properly detects resources using "legacy" naming conventions.Fixed an issue where specifying an in-context Dockerfile using an absolute
  path would fail despite being valid.Fixed a bug where IPAM option changes were incorrectly detected, preventing
  redeployments.Validation of v2 files now properly checks the structure of IPAM configs.Improved support for credentials stores on Windows to include binaries using
  extensions other than .exe. The list of valid extensions is determined by
  the contents of the PATHEXT environment variable.Fixed a bug where Compose would generate invalid binds containing duplicate
  elements with some v3.2 files, triggering errors at the Engine level during
  deployment.1.21.0(2018-04-11)New featuresCompose file version 2.4Introduced version 2.4 of the docker-compose.yml specification.
  This version requires Docker Engine 17.12.0 or above.Added support for the platform parameter in service definitions.
  If supplied, the parameter is also used when performing build for the
  service.Compose file version 2.2 and upAdded support for the cpu_rt_period and cpu_rt_runtime parameters
  in service definitions (2.x only).Compose file version 2.1 and upAdded support for the cpu_period parameter in service definitions
  (2.x only).Added support for the isolation parameter in service build configurations.
  Additionally, the isolation parameter in service definitions is used for
  builds as well if no build.isolation parameter is defined. (2.x only)All formatsAdded support for the --workdir flag in docker-compose exec.Added support for the --compress flag in docker-compose build.docker-compose pull is now performed in parallel by default. You can
  opt out using the --no-parallel flag. The --parallel flag is now
  deprecated and will be removed in a future version.Dashes and underscores in project names are no longer stripped out.docker-compose build now supports the use of Dockerfile
  ```