forked from loafle/openapi-generator-original
Add docker support to python flask (#5133)
* added supporting files for Dockerfile and dockerignore generation for python-flask lang * documenting how to build the docker image and how to spin up a container * updating pet store sample
This commit is contained in:
committed by
wing328
parent
6708cc50eb
commit
0afa084158
@@ -107,6 +107,8 @@ public class FlaskConnexionCodegen extends DefaultCodegen implements CodegenConf
|
||||
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
|
||||
supportingFiles.add(new SupportingFile("gitignore.mustache", "", ".gitignore"));
|
||||
supportingFiles.add(new SupportingFile("travis.mustache", "", ".travis.yml"));
|
||||
supportingFiles.add(new SupportingFile("Dockerfile.mustache", "", "Dockerfile"));
|
||||
supportingFiles.add(new SupportingFile("dockerignore.mustache", "", ".dockerignore"));
|
||||
|
||||
cliOptions.add(new CliOption(CodegenConstants.PACKAGE_NAME, "python package name (convention: snake_case).")
|
||||
.defaultValue("swagger_server"));
|
||||
|
||||
Reference in New Issue
Block a user