While starting on the work to bring in a Jenkinsfile for https://pagure.io/elections/issue/93, I noticed there isn't a production ready Dockerfile. This could be helpful if down the line this app gets deployed as a container.
As such, I have started to bring in a proof of concept of a production Dockerfile, development dev.Dockerfile, and docker-compose.development.yaml in this PR.
Feel free to decline if this is not needed.
Caveats:
envsubst is probably suboptimal, other suggestions would be great
While starting on the work to bring in a
Jenkinsfilefor https://pagure.io/elections/issue/93, I noticed there isn't a production readyDockerfile. This could be helpful if down the line this app gets deployed as a container.As such, I have started to bring in a proof of concept of a production
Dockerfile, developmentdev.Dockerfile, anddocker-compose.development.yamlin this PR.Feel free to decline if this is not needed.
Caveats:
envsubstis probably suboptimal, other suggestions would be greatQuestions:
createdb.pyidempotent?