-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added initial docker setup * update dockerfile * moved docker to top-level folder * copy code * update docker * update readme * update poetry
- Loading branch information
Showing
6 changed files
with
198 additions
and
162 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.git | ||
docs/ | ||
site/ | ||
notebooks/ | ||
tests/ |
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,23 @@ | ||
FROM geopython/pygeoapi:latest | ||
|
||
LABEL maintainer="Carsten Ehbrecht <[email protected]>" | ||
|
||
# Volume mapping cannot be used with webhook | ||
# https://github.com/maccyber/micro-dockerhub-hook | ||
# simply copy config into Image. | ||
COPY pygeoapi-config.yml /pygeoapi/local.config.yml | ||
# ADD ./data /pygeoapi/data | ||
# Should now be in pygeoapi Docker Image | ||
|
||
# COPY ./demo.pygeoapi.io.cron /etc/cron.d/demo.pygeoapi.io.cron | ||
|
||
# Set the working directory to /code | ||
WORKDIR /code | ||
|
||
# Copy source code | ||
COPY . /code | ||
|
||
# Install | ||
# RUN pip3 install poetry | ||
# RUN poetry install | ||
RUN python3 -m pip install --no-cache-dir -e . |
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,12 @@ | ||
version: '3' | ||
services: | ||
pygeoapi: | ||
build: . | ||
image: birdhouse/nandu | ||
ports: | ||
- "5000:80" | ||
|
||
# docker-compose build | ||
# docker-compose up | ||
# docker-compose down | ||
# docker-compose rm |
Oops, something went wrong.