-
Notifications
You must be signed in to change notification settings - Fork 147
/
docker-compose.yml
45 lines (38 loc) · 1010 Bytes
/
docker-compose.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
version: '2'
services:
base:
build:
context: .
image: 'developmentseed/landsat-util:latest'
entrypoint: /bin/bash
env_file: .env
volumes:
- '.:/home/geolambda/work'
landsat:
image: 'developmentseed/landsat-util:latest'
working_dir: /home/geolambda
entrypoint: landsat
env_file: .env
volumes:
- '.:/home/geolambda/work'
test:
image: 'developmentseed/landsat-util:latest'
working_dir: /home/geolambda
entrypoint: bash -c 'pytest tests/';
env_file: .env
volumes:
- './lambda:/home/geolambda/lambda'
- './tests:/home/geolambda/tests'
package:
image: 'developmentseed/landsat-util:latest'
command: lambda-package.sh
working_dir: /home/geolambda/work
volumes:
- '.:/home/geolambda/work'
testpackage:
image: 'developmentseed/geolambda:base'
command: bash -c "pytest tests/";
working_dir: /home/geolambda
env_file: .env
volumes:
- './tests:/home/geolambda/tests'