Base Frontend

This commit is contained in:
2025-10-13 01:20:15 +02:00
parent 74d7f60dfc
commit ea043234a3
14 changed files with 3027 additions and 0 deletions

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
services:
frontend:
build: .
container_name: telefonkonyv-frontend
restart: always
env_file: .env
environment:
- CHOKIDAR_USEPOLLING=true
- BACKEND_API_HOST=${BACKEND_API_HOST}
- BACKEND_API_PORT=${BACKEND_API_PORT}
ports:
- "${FRONTEND_PORT:-5173}:5173"
volumes:
- ./:/usr/src/app
- ./node_modules:/usr/src/app/node_modules
command: sh -c "npm install && npm run dev"
networks:
- telefonkonyv-net
networks:
telefonkonyv-net:
name: telefonkonyv-net