Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Define a single service to run against.
- services:
- # Define the development environment service.
- devenv:
- # Build the image using the current host directory as the context.
- build: .
- # Declare a custom hostname for the service container.
- hostname: container
- # Mount the current host directory in a new container directory.
- volumes:
- - .:/root/devenv
- # Set the mount's target as the working directory.
- working_dir: /root/devenv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement