Support for building pygeoapi as a lambda container and deploying to AWS Lambda (#2) (#709)

This commit is contained in:
Chris Barrett
2021-09-19 18:10:17 -05:00
committed by GitHub
parent 9b8d86e914
commit db3d4f9502
8 changed files with 292 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
import os
os.environ['PYGEOAPI_CONFIG'] = 'pygeoapi-test-config.yml'
os.environ['PYGEOAPI_OPENAPI'] = 'pygeoapi-test-openapi.yml'
from pygeoapi.flask_app import APP
if __name__ == "__main__":
APP.run()