This Dockerfile creates a development environment for the Vue.js frontend with
hot-reload support. It is used by docker-compose-dev.yml to run the frontend
without requiring Node.js to be installed locally.
- Hot-reload support via Vite dev server
- Source files are mounted as volumes for live editing
- No local Node.js installation required
The dev-frontend container is started automatically as part of the dev stack:
docker compose -f docker-compose-dev.yml up --buildThe frontend will be available at http://localhost:5173.
The following files/directories are mounted from the host:
wp1-frontend/src/- Vue component source fileswp1-frontend/index.html- Entry HTML filewp1-frontend/vite.config.js- Vite configurationwp1-frontend/postcss.config.js- PostCSS configuration
Changes to these files will be automatically detected and the browser will refresh accordingly.