-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP]: feat(mode-dev-docker): add a mode dev for geonature-frontend
Add a `docker-compose.dev.yml` file that may be used for dev mode. Launch the stack with the following command: `docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d` [WIP]: - Fix Traefik routing rules for dev mode
- Loading branch information
1 parent
b5eb241
commit fe2445c
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
services: | ||
geonature-frontend: | ||
build: | ||
context: . | ||
dockerfile: build/Dockerfile-geonature-frontend | ||
target: source-extra | ||
args: | ||
GEONATURE_FRONTEND_IMAGE: ghcr.io/pnx-si/geonature-frontend:latest | ||
working_dir: /build/src/app | ||
command: npm run start -- --host 0.0.0.0 | ||
expose: | ||
- 4200 | ||
volumes: | ||
- ./sources/GeoNature/frontend/src:/build/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters