mitinarseny / jupetri

Complete Docker image for Jupyter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logo

Complete Docker image for Jupyter

Docker Build

About

This docker image includes:

Usage

List dependencies

You will need to list all your python dependencies in requirements.txt. To list all python modules via pip:

pip freeze > requirements.txt

Or with conda:

conda list -e > requirements.txt

Dockerize

Create a Dockerfile in your project root directory with following structure:

FROM mitinarseny/jupetri

COPY requirements.txt .

RUN pip install -r requirements.txt

Then, in your project root directory create docker-compose.yaml with following structure:

version: '3.7'

services:
  jupyter:
    build: .
    volumes:
      - ./:/data
    ports:
      - "8888:8888"

Run

To run your Jupyter server simply run:

docker-compose up --build

About

Complete Docker image for Jupyter


Languages

Language:Dockerfile 100.0%