22 lines
546 B
YAML
22 lines
546 B
YAML
services:
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
target: development
|
|
container_name: membership_frontend
|
|
restart: unless-stopped
|
|
environment:
|
|
- VITE_HOST_CHECK=false
|
|
- VITE_ALLOWED_HOSTS=${VITE_ALLOWED_HOSTS}
|
|
ports:
|
|
- "8050:3000" # Expose frontend to host
|
|
volumes:
|
|
- ./frontend/src:/app/src
|
|
- ./frontend/public:/app/public
|
|
- ./frontend/vite.config.ts:/app/vite.config.ts
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- membership_private
|