🧑‍💻(frontend) enable frontend service in docker compose

Added configuration to docker-compose stack allowing users to run the
frontend in production mode. This simplifies the developer onboarding,
for those wanting to run the project locally.
This commit is contained in:
lebaudantoine
2025-03-13 18:53:14 +01:00
committed by aleb_the_flash
parent 9eae98ed16
commit a8e1bbe085
3 changed files with 34 additions and 3 deletions

View File

@@ -95,6 +95,18 @@ services:
depends_on:
- keycloak
frontend:
user: "${DOCKER_USER:-1000}"
build:
context: .
dockerfile: ./src/frontend/Dockerfile
target: frontend-production
args:
VITE_API_BASE_URL: "http://localhost:8071"
image: meet:frontend-development
ports:
- "3000:8080"
dockerize:
image: jwilder/dockerize
platform: linux/x86_64