From 15b0693d1696d102e3ecdcdb8006ad31185982f4 Mon Sep 17 00:00:00 2001 From: matthew Date: Sat, 8 Oct 2022 04:24:11 +0400 Subject: [PATCH] fix docker-compose --- docker-compose.yml | 1 + searching-front/Dockerfile | 1 - searching-front/Dockerfile.watcher | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 903afa4..d9f0a2e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,6 +28,7 @@ services: container_name: front build: ./searching-front restart: always + watcher: container_name: watcher depends_on: diff --git a/searching-front/Dockerfile b/searching-front/Dockerfile index 421ab26..b0ef82b 100644 --- a/searching-front/Dockerfile +++ b/searching-front/Dockerfile @@ -21,5 +21,4 @@ COPY . . # ENV NEXT_TELEMETRY_DISABLED 1 RUN npm run build -RUN npm run migrate:prod CMD ["npm", "run", "start"] \ No newline at end of file diff --git a/searching-front/Dockerfile.watcher b/searching-front/Dockerfile.watcher index 4ea2818..741eb34 100644 --- a/searching-front/Dockerfile.watcher +++ b/searching-front/Dockerfile.watcher @@ -21,5 +21,4 @@ COPY . . # ENV NEXT_TELEMETRY_DISABLED 1 RUN npm run build -RUN npm run migrate:prod CMD ["npm", "run", "watcher"] \ No newline at end of file