An open API service indexing awesome lists of open source software.

https://github.com/orenlab/dockerfiles

Simple, clear, and working Dockerfile templates for Python applications.
https://github.com/orenlab/dockerfiles

alpine docker dockerfile linux python

Last synced: about 2 months ago
JSON representation

Simple, clear, and working Dockerfile templates for Python applications.

Awesome Lists containing this project

README

          

# Dockerfiles

Simple, clear, and working Dockerfile templates for Python applications based on Alpine image.

## Features

- Multi-stage
- Targets
- Minimum image size

## Installation

Simple and intuitive installation and setup:

```bash
git clone https://github.com/orenlab/dockerfiles.git
```

Then open the `Dockerfile` in your preferred editor and make the necessary changes to the `paths` and `dependencies`.

## Usage/Examples

Dockerfile is configured to use two targets:
- For a `production` system

```bash
docker --target production build -t name/image:tag .
```

- For `development` system

```bash
docker --target development build -t name/image:tag .
```

## Authors

- [@orenlab](https://github.com/orenlab/dockerfiles)

## License

[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/orenlab/dockerfiles/blob/main/LICENSE)