moosh3 / pipenv-docker

Dockerfiles for use with pipenv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipenv-docker

Installation

$ docker pull aleccunningham/pipenv:3.6-onbuild

Usage

This dockerfile is structured to be used as a base image for a python 3.6 application. When paired with your application, it should look similar to the following.

FROM aleccunningham/pipenv:3.6-onbuild

COPY . /app

RUN python3 main.py

Making use of the ONBUILD command allows for docker to automagically add and install dependencies defined in a Pipfile.

About

Dockerfiles for use with pipenv