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