Browse Source

fix docker-compose

main
matthew 2 years ago
parent
commit
15b0693d16
  1. 1
      docker-compose.yml
  2. 1
      searching-front/Dockerfile
  3. 1
      searching-front/Dockerfile.watcher

1
docker-compose.yml

@ -28,6 +28,7 @@ services:
container_name: front container_name: front
build: ./searching-front build: ./searching-front
restart: always restart: always
watcher: watcher:
container_name: watcher container_name: watcher
depends_on: depends_on:

1
searching-front/Dockerfile

@ -21,5 +21,4 @@ COPY . .
# ENV NEXT_TELEMETRY_DISABLED 1 # ENV NEXT_TELEMETRY_DISABLED 1
RUN npm run build RUN npm run build
RUN npm run migrate:prod
CMD ["npm", "run", "start"] CMD ["npm", "run", "start"]

1
searching-front/Dockerfile.watcher

@ -21,5 +21,4 @@ COPY . .
# ENV NEXT_TELEMETRY_DISABLED 1 # ENV NEXT_TELEMETRY_DISABLED 1
RUN npm run build RUN npm run build
RUN npm run migrate:prod
CMD ["npm", "run", "watcher"] CMD ["npm", "run", "watcher"]
Loading…
Cancel
Save