File size: 611 Bytes
4b5e485
 
 
59879a5
6f9ad82
 
 
 
 
2908650
6f9ad82
2908650
59879a5
2908650
6f9ad82
 
 
 
 
 
 
6f8b977
 
 
6f9ad82
 
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
version: '3.8'

services:
  test:
    container_name: geospatial-data-converter-test
    build:
      context: .
      dockerfile: Dockerfile
      target: test
    volumes:
      - ./tests/:/home/appuser/tests/
      - ./pyproject.toml:/home/appuser/pyproject.toml
    working_dir: /home/appuser
    command: ["pytest"]

  geospatial-data-converter:
    container_name: geospatial-data-converter
    build:
      context: .
      dockerfile: Dockerfile
      target: runtime
    depends_on:
      test:
        condition: service_completed_successfully
    ports:
      - "${APP_PORT:-7860}:${APP_PORT:-7860}"