Files
rmser/rmser-app/docker-compose.yml
2025-11-30 06:31:23 +03:00

16 lines
558 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
frontend:
image: node:20-alpine
working_dir: /app
volumes:
- ./:/app
# Исключаем node_modules контейнера, чтобы не конфликтовать с хостом
# (хотя для dev-режима часто работает и сквозное монтирование)
- /app/node_modules
ports:
- "5173:5173"
# Для Windows/Mac, чтобы видеть бэкенд на хосте
extra_hosts:
- "host.docker.internal:host-gateway"
command: npm run dev