Skip to content

dmetzler1988-org/container-image-python-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

dmetzler1988 Python base image

The dmetzler1988 Python base image is an image based on our dmetzler1988-org/alpine-minimal from Github Package Manager.

Features

Usage

This image can be used as a downstream image in your repository. Replace the :latest tag with a specific version.

FROM ghcr.io/dmetzler1988-org/python3-minimal:latest AS build

WORKDIR /app

COPY . .
RUN apk --no-cache add py3-flask

USER nobody

CMD ["python3", "main.py"]

Local Build

To build this image on local system, use the following command in your CLI

docker build -t dmetzler1988-org/python3-minimal .

Build Process

The CI/CD setup uses the Docker build-push Action to publish container images.
This is managed in .github/workflows/release.yaml.

License

This application is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License v3.

Copyright

Copyright (c) 2024 dmetzler1988