docker-compose.yml 318 Bytes
Newer Older
James Laver's avatar
James Laver committed
1 2 3 4 5 6
version: "3.5"
services:
  frontend:
    build:
      context: .
      dockerfile: "Dockerfile.dev"
James Laver's avatar
James Laver committed
7 8 9 10 11
    stdin_open: true
    tty: true
    user: $UID:$GID
    ports:
      - 5000:5000
James Laver's avatar
James Laver committed
12
    volumes:
James Laver's avatar
James Laver committed
13 14 15 16
      - .:/opt/app
      - /etc/group:/etc/group:ro
      - /etc/passwd:/etc/passwd:ro
      - /etc/shadow:/etc/shadow:ro