diff --git a/docker-compose.yml b/docker-compose.yml index 801f041..cbd71e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,13 +8,19 @@ services: context: . ports: - 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 web: image: git.autonomic.zone/autonomic-cooperative/justice-equity-technology:latest ports: - 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 db: image: mongo:latest