🧑💻(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:
committed by
aleb_the_flash
parent
9eae98ed16
commit
a8e1bbe085
12
compose.yml
12
compose.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user