diff --git a/docker-compose.yml b/docker-compose.yml index 3f41804..9ec3755 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,8 +2,9 @@ services: frontend: image: node:24.1.0-alpine3.22 - # command: "sh -c '[ ! -d node_modules ] || npm install && npx run dev'" - command: sleep inf + restart: unless-stopped + tty: true + command: "sh -c '[ ! -d node_modules ] || npm install && npm run dev'" working_dir: /app volumes: - ./frontend:/app