How to Use Docker with Python in Just 10 Minutesby@morganpage
1,245 reads

How to Use Docker with Python in Just 10 Minutes

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

How to Use Docker with Python in Just 10 Minutes is easy to do in just 10 minutes. Run Docker image build -t hello-world to create an image tagged 'hello-world' The new image is based on the official python:3.8-slim-buster image, has its working directory set to, has both files copied into this directory, and its default executable set to ‘python app.py’ The Dockerfile will use the Dockerfile to create a. repository name ofusing the current working directory of your project.
featured image - How to Use Docker with Python in Just 10 Minutes
Morgan HackerNoon profile picture

@morganpage

Morgan

Indie game developer. I also do / teach web development.


Receive Stories from @morganpage

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!