Advertisement
Tainel

compose.yaml

Mar 28th, 2023 (edited)
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.45 KB | Software | 0 0
  1. # Define a single service to run against.
  2. services:
  3. # Define the development environment service.
  4.  devenv:
  5.  # Build the image using the current host directory as the context.
  6.   build: .
  7.   # Declare a custom hostname for the service container.
  8.   hostname: container
  9.   # Mount the current host directory in a new container directory.
  10.   volumes:
  11.   - .:/root/devenv
  12.   # Set the mount's target as the working directory.
  13.   working_dir: /root/devenv
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement