Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new file: docker/Dockerfile Dockerfile for pygeoapi * testing postgis on travis * testing 9.6 * install postgis as package * create database * postgis dataset - travis * missing path * modified: tests/data/hotosm_bdi_waterways.sql.gz Change in name of dataset * postgresql code * modified: pygeoapi/provider/postgresql.py update with origin * Postgresql working provider, typo in geopackage * update to travis. Change on gpkg * missing dep (psycopg2) * pytest * problem with operator in travis * ProviderConnectionError implementation * postgresql with schema support * Changes requested by @tomkralidis * missing pygeoapi-config.yml * delete openapi.yml deleted openapi.yml
- Loading branch information
1 parent
30d09fb
commit c621b21
Showing
11 changed files
with
419 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM frolvlad/alpine-python3 | ||
|
||
RUN apk update && apk add --no-cache \ | ||
git \ | ||
python3-dev \ | ||
libffi \ | ||
libffi-dev \ | ||
musl-dev \ | ||
gcc \ | ||
openssl-dev \ | ||
g++ | ||
|
||
|
||
RUN git clone https://github.com/geopython/pygeoapi.git | ||
|
||
ENV PYGEOAPI_CONFIG=/pygeoapi/local.yml | ||
|
||
WORKDIR /pygeoapi | ||
RUN pip3 install -r requirements.txt | ||
RUN pip3 install -r requirements-dev.txt | ||
RUN pip3 install -e . | ||
RUN cp pygeoapi-config.yml local.yml | ||
#export PYGEOAPI_CONFIG=`pwd`/local.yml | ||
|
||
ENTRYPOINT ["/usr/bin/python3", "/pygeoapi/pygeoapi/app.py"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.