File tree Expand file tree Collapse file tree 3 files changed +51
-0
lines changed Expand file tree Collapse file tree 3 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM python:3.8-slim
2+
3+ ENV CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
4+
5+ RUN mkdir -p /opt/src/pypgstac
6+
7+ WORKDIR /opt/src/pypgstac
8+
9+ COPY pypgstac/requirements-dev.txt /opt/src/pypgstac/requirements-dev.txt
10+ RUN pip install -r requirements-dev.txt
11+
12+ COPY pypgstac /opt/src/pypgstac
13+ RUN pip install -e .
14+
15+ WORKDIR /opt/src
Original file line number Diff line number Diff line change 1+ services :
2+ dev :
3+ container_name : pgstac-dev
4+ image : pgstac-dev
5+ build :
6+ context : .
7+ dockerfile : Dockerfile.dev
8+ depends_on :
9+ - database
10+ volumes :
11+ - ./:/opt/src
12+ environment :
13+ - PGUSER=username
14+ - PGPASSWORD=password
15+ - PGHOST=database
16+ - PGDATABASE=postgis
17+ database :
18+ container_name : pqgstac-db
19+ image : pqstac-db
20+ build :
21+ context : .
22+ dockerfile : Dockerfile
23+ environment :
24+ - POSTGRES_USER=username
25+ - POSTGRES_PASSWORD=password
26+ - POSTGRES_DB=postgis
27+ ports :
28+ - " 5432:5432"
29+ volumes :
30+ - pgstac-pgdata:/var/lib/postgresql/data
31+ - ./:/opt/src
32+ volumes :
33+ pgstac-pgdata :
Original file line number Diff line number Diff line change 1+ flake8 == 3.8.4
2+ black == 20.8b1
3+ mypy == 0.800
You can’t perform that action at this time.
0 commit comments