fix: pnpm in vite docker (#10344)

- Fix pnpm path in vite docker
- Remove webpack files
- fFx vite server port
This commit is contained in:
Vishnu Narayanan
2024-10-29 15:16:10 +05:30
committed by GitHub
parent 0689f59a05
commit 55dfd7db50
6 changed files with 13 additions and 44 deletions

View File

@@ -74,13 +74,13 @@ services:
- cache:/app/tmp/cache
- bundle:/usr/local/bundle
ports:
- "5173:5173" # Vite dev server
- "3036:3036" # Vite dev server
environment:
- VITE_DEV_SERVER_HOST=0.0.0.0
- NODE_ENV=development
- RAILS_ENV=development
entrypoint: docker/entrypoints/vite.sh
command: pnpm run dev
command: bin/vite dev
postgres:
image: postgres:12