How to Dockerize a Python Program

Published: 08 April 2021
on channel: Notch Network
59
0

In this video I go over how to Dockerize a simple python script with dependencies.

Links:
Docker Desktop: https://www.docker.com/products/docke...
VsCode: https://code.visualstudio.com/download (install python and docker plugin)
DockerFile:
FROM python:3

WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

CMD [ "python", "./your-daemon-or-script.py" ]

My Channel: https://goo.gl/IW4SZG


On this page of the site you can watch the video online How to Dockerize a Python Program with a duration of hours minute second in good quality, which was uploaded by the user Notch Network 08 April 2021, share the link with friends and acquaintances, this video has already been watched 59 times on youtube and it was liked by 0 viewers. Enjoy your viewing!