This is the sample repository for learning Python3.x .
The Docker file :
- use ubuntu:18.04 image
- use libraries:
- pip
- vim
- set some aliases:
- vi
- python
- pip
- set working directory as
/app
- mount
index.py
into/app/here
Build the image.
$ docker build \
--no-cache \
-t takimotok/ubuntu:18.04 \
-f ./Dockerfile .
Run the container.
$ docker run -v $(pwd)/:/app/ --name=py -it takimotok/ubuntu:18.04 /bin/bash