Skip to content

A repository to showcase how to setup Docker inside a Python project

Notifications You must be signed in to change notification settings

IRLL/Python-Docker-Template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python template repository

This is a simple Python + Docker repository aimed at showcasing how to use docker and python together.

Usage

Run the following command inside your terminal

docker build . -t demo && docker run demo

Expected output:

Hello, world!
[1 2 3]

Usage with docker-compose

Run the following command inside your terminal

docker-compose up

Expected output:

[+] Running 1/0
 - Container demo  Created                                                                                                                 0.0s
Attaching to demo
demo  | Hello, world!
demo  | [1 2 3]
demo exited with code 0

About

A repository to showcase how to setup Docker inside a Python project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 73.5%
  • Python 26.5%