version: '3.8'

services:
  ossm-configurator-dev:
    image: node:20-alpine
    container_name: ossm-configurator-dev
    working_dir: /app
    volumes:
      - ./website:/app
      - /app/node_modules
    ports:
      - "5173:5173"
    command: sh -c "npm install && npm run dev -- --host"
    environment:
      - NODE_ENV=development
    stdin_open: true
    tty: true
