elixir-cloud-aai / foca

Opinionated Flask microservice archetype for quick OpenAPI-based microservice development
Apache License 2.0
16 stars 12 forks source link

Template Dockerfiles #121

Closed uniqueg closed 2 years ago

uniqueg commented 2 years ago

The Dockerfiles in docker/ are all the same except for the base image they are using, leading to a lot of duplicated code. It would be better to use templating here. Guess this is one way how it could be done: https://www.isaac.nl/en/developer-blog/dockerfile-templating-to-automate-image-creation/