https://github.com/chainguard-dev/multistage-build-tutorial
Code for Python multistage build tutorial blog post with example app (Timeteller)
https://github.com/chainguard-dev/multistage-build-tutorial
Last synced: 3 months ago
JSON representation
Code for Python multistage build tutorial blog post with example app (Timeteller)
- Host: GitHub
- URL: https://github.com/chainguard-dev/multistage-build-tutorial
- Owner: chainguard-dev
- Created: 2024-04-03T15:25:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-03T15:53:33.000Z (about 1 year ago)
- Last Synced: 2025-01-13T11:23:26.496Z (4 months ago)
- Language: HTML
- Size: 109 KB
- Stars: 0
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Securely Containerize a Python Application with Chainguard Images
Example application and Dockerfile for the "Securely Containerize a Python Application with Chainguard Images" blog post on dev.to.
To run the application, first set up a Python virtual environment. Install the dependency with:
```bash
pip install -r requirements.txt
```Run the application:
```bash
python main.py
```To build with Docker and run:
```bash
docker build . -t timeteller
docker run --rm timeteller
```