docker compose access environment variables in dockerfile code example
Example: docker compose env
# environment vars
environment:
RACK_ENV: development
environment:
- RACK_ENV=development
# environment vars
environment:
RACK_ENV: development
environment:
- RACK_ENV=development