lbates2000/python-windows

By lbates2000

Updated over 9 years ago
Archived

Python 3.6.0 and PIP 9.0.1 running in a Window Nano Server container

Image
Languages & frameworks
Developer tools
3

2.1K

lbates2000/python-windows repository overview

python-windows

Windows Nano Server container running python 3.6.0 and pip 9.0.1

This was built by installing Python on a Windows 10 x64 machine and then copying the installation to the container and setting the python path.

You can run it interactively:

docker run -it lbates2000/python-windows

or you can use it as a base for another container, as well as upgrade PIP and install additional Python modules, by adding the appropriate commands to the new container's Dockerfile.

For example:

FROM lbates2000/python-windows:latest

ENV APP_DIR C:/apps
ADD requirements.txt $APP_DIR/requirements.txt
WORKDIR $APP_DIR

RUN \
    python -m pip install --upgrade pip && \
    python -m pip install -r requirements.txt

ENTRYPOINT ["C:\\Python\\python.exe"]

. . Code is on GitHub:

https://github.com/LBates2000/python-windows

Tag summary

Content type

Image

Digest

Size

446.6 MB

Last updated

over 9 years ago

docker pull lbates2000/python-windows