File size: 731 Bytes
708f5d3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: node_image_search_engine
services:
  node_frontend:
    build: ./node_server
    links: 
      - "python_clip_image_search:pclis"
    ports:
      - 3000:3000
    volumes:
      - type: bind
        source: ./python_clip_image_search/dataset
        target: /home/node/app/views/dataset
    command: npm start
    develop:
      watch:
        - action: sync
          path: ./node_server
          target: /home/node/app
          ignore:
            - ./node_server/node_modules/
        - action: rebuild
          path: package.json
      
  python_clip_image_search:
    build: ./python_clip_image_search
    develop:
      watch:
        - action: sync
          path: ./python_clip_image_search
          target: /app