services:
  sf:
    build:
      context: .
      dockerfile: Dockerfile.sandbox
      args:
        SF_VERSION: latest
    container_name: sf-sandbox
    ports:
      - "3000:3000"
    volumes:
      - ../:/workspace
      - sf-state:/home/sf/.sf
    env_file:
      - .env
    environment:
      - NODE_ENV=development
    stdin_open: true
    tty: true

volumes:
  sf-state:
    driver: local
