From 789af6f754917250db819677a87899c687630b9d Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Fri, 29 Mar 2024 16:23:09 -0300 Subject: [PATCH] Use `pnpm dev` --- docker-compose.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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