Skip to content

Commit d4b3812

Browse files
authored
Merge pull request #943 from jupyter-naas/claude/agitated-jang-9d250f
fix(compose): build nexus-web locally for dev
2 parents 4eb754c + 510cf40 commit d4b3812

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docker-compose.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,16 @@ x-abi-template: &abi_template
8686

8787
services:
8888
nexus-web:
89-
image: ${NEXUS_WEB_IMAGE}:${NEXUS_WEB_TAG}
90-
pull_policy: always
89+
build:
90+
context: libs/naas-abi/naas_abi/apps/nexus/
91+
dockerfile: Dockerfile
9192
restart: unless-stopped
9293
ports:
9394
- ${NEXUS_WEB_PORT}:3000
95+
volumes:
96+
- ./libs/naas-abi/naas_abi/apps/nexus/apps/web:/app/apps/web
9497
environment:
95-
- NODE_ENV=production
98+
- NODE_ENV=development
9699
- PORT=3000
97100
- NEXT_PUBLIC_NEXUS_ENV=local
98101
- NEXUS_API_URL=${NEXUS_API_URL}

0 commit comments

Comments
 (0)