From db4ea90a996aa90889d94a2cf0934af5948552c9 Mon Sep 17 00:00:00 2001 From: agatha Date: Sat, 6 Apr 2024 17:50:34 -0400 Subject: [PATCH] update docker-compose.yml --- docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 424b334..36dc28d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,16 @@ services: build: context: ./backend dockerfile: Dockerfile + ports: + - '8001:8000' + restart: unless-stopped + + frontend: + build: + context: ./frontend + dockerfile: Dockerfile ports: - '8000:8000' restart: unless-stopped + depends_on: + - backend \ No newline at end of file