No description
  • Dockerfile 68.8%
  • Python 31.2%
Find a file
2025-05-20 19:03:14 +00:00
docker [Devtools-Week] Update python image tag (#27) 2023-06-07 15:44:35 +01:00
.gitignore Initial sample creation 2021-04-26 12:01:28 -04:00
app.py Updated base image 2022-06-03 13:08:23 -05:00
deploy.yaml Enable TLS for version 1 (#39) 2024-01-03 11:38:16 -05:00
devfile.yaml Update devfile.yaml 2025-05-20 19:03:14 +00:00
LICENSE Initial sample creation 2021-04-26 12:01:28 -04:00
README.md [Devtools] Update Readme Links (#45) 2024-03-01 09:18:38 -05:00
requirements.txt Update dependencies (#34) 2023-10-02 14:06:42 +01:00

Creating an application with a Python code sample

Note: The Python code sample uses the 8081 HTTP port.

Before you begin creating an application with this devfile code sample, it's helpful to understand the relationship between the devfile and Dockerfile and how they contribute to your build. You can find these files at the following URLs:

  1. The devfile.yaml file has an image-build component that points to your Dockerfile.
  2. The docker/Dockerfile contains the instructions you need to build the code sample as a container image.
  3. The devfile.yaml kubernetes-deploy component points to a deploy.yaml file that contains instructions for deploying the built container image.
  4. The devfile.yaml deploy command completes the outerloop deployment phase by pointing to the image-build and kubernetes-deploy components to create your application.

Additional resources