beyond-jupyter
beyond-jupyter copied to clipboard
add dockerfile for creating conda env
dockerfile
FROM continuumio/miniconda3
# setting Conda Path
ENV PATH /opt/conda/bin:$PATH
COPY environment.yml .
RUN conda env create -f environment.yml
docker-compse.yml
version: '3.9'
services:
app:
build: .
# dockerfile: Dockerfile
container_name: 'beyond-jupyter'
working_dir: '/workspace'
volumes:
- ./:/workspace/
ports:
- 8888:8888
tty: true
networks:
- db_network
networks:
db_network:
external: true
Use conda with docker
beyond-jupyter % docker-compose up -d app
beyond-jupyter % docker-compose exec app /bash/bin
# on docker container
/workspace# source activate pop
access jyupyterlab
# on docker container
/workspace# jupyter lab --allow-root --no-browser --NotebookApp.token='' --port 8888 --ip=0.0.0.0
Access with a browser to http://localhost:8888/
@carbscountry thank you for your contribution and welcome to beyond-jupyter. We are sorry for the somehow longish response time, we are still in a very early stage. Regarding your pull request, I would like to ask you if you would agree to slightly adapt your idea towards the following issue #15 ? The reason is, that we do not want to embrace the usage of jupyter notebooks here, as it would somehow contradicts the purpose of this repository. We hope this explanation helps. Please, let me know, what you think.