Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maintained by: ProgTech

This repository only creates and image to be used for python scripts inside a Docker container.

It uses the Docker Python Official documentation to see how to customize.

Here is our Official documentation on how to install and use it from Docker Hub

What it comes with

The python container created by this Dockerfile has:

  • python v3.11.1
  • pip v22.3.1
  • bash
  • vim v9.0 (as editor)

Usage

  1. Clone de repo
git clone https://github.com/prog-tech/docker-python.git
  1. Build the image
./build.sh
  1. Run the container
./run.sh

If everything goes well, you should see something like:

$ ./run.sh 
dd5205d03c95:/usr/src/app# 

You can then run python with the command:

dd5205d03c95:/usr/src/app# python
Python 3.11.1 (main, Jan  9 2023, 20:37:01) [GCC 12.2.1 20220924] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

About

Docker ready to use Python scripts

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages