feat(dev): add compose service for the nuxt dev image

Build CV_Site_Nuxt with Dockerfile.dev, bind-mount the source into /app and
shadow node_modules with a volume so the dependencies baked into the image
stay visible. The dev server serves on port 3000.
This commit is contained in:
Noel Sabia committed 2026-10-18 14:56:57 +02:00
1 parent dac20bd586
commit 6ce5f7a3db
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
services:
frontend:
build:
context: ../CV_Site_Nuxt
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
volumes:
- ../CV_Site_Nuxt:/app
- /app/node_modules