Use pnpm dev

This commit is contained in:
3wc 2024-03-29 16:23:09 -03:00
parent 36991b856e
commit 789af6f754

View File

@ -8,13 +8,19 @@ services:
context: . context: .
ports: ports:
- 3001:3001 - 3001:3001
command: pnpm serve:api entrypoint: sh
command: "-c 'pnpm install && pnpm dev:api'"
volumes:
- "$PWD/apps/api:/app/apps/api"
env_file: .env env_file: .env
web: web:
image: git.autonomic.zone/autonomic-cooperative/justice-equity-technology:latest image: git.autonomic.zone/autonomic-cooperative/justice-equity-technology:latest
ports: ports:
- 3000:3000 - 3000:3000
command: pnpm serve:web entrypoint: sh
command: "-c 'pnpm install && pnpm dev:web -- --host 0.0.0.0'"
volumes:
- "$PWD/apps/web:/app/apps/web"
env_file: .env env_file: .env
db: db:
image: mongo:latest image: mongo:latest