Base Frontend
This commit is contained in:
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user