Skip to content
Snippets Groups Projects
Commit e32d5c04 authored by Nauta, Lisanne's avatar Nauta, Lisanne
Browse files

General updates

parent 63f447a1
Branches
No related tags found
No related merge requests found
Pipeline #83545 passed
.gitlab-ci.yml .gitlab-ci.yml
.gitignore
Dockerfile Dockerfile
.dockerignore
isimip3b isimip3b
isimip3b.zip isimip3b.zip
builds .ipynb_checkpoints
\ No newline at end of file \ No newline at end of file
isimip3b.zip isimip3b.zip
isimip3b isimip3b
builds builds
\ No newline at end of file .ipynb_checkpoints
\ No newline at end of file
...@@ -49,7 +49,6 @@ docker-build: ...@@ -49,7 +49,6 @@ docker-build:
- if: - if:
changes: changes:
- ".gitignore" - ".gitignore"
- ".dockerignore"
when: never when: never
......
...@@ -3,4 +3,4 @@ FROM jupyter/datascience-notebook:ubuntu-22.04 ...@@ -3,4 +3,4 @@ FROM jupyter/datascience-notebook:ubuntu-22.04
RUN wget -O isimip3b.zip https://zenodo.org/api/records/10256871/files/isimip3b.zip/content RUN wget -O isimip3b.zip https://zenodo.org/api/records/10256871/files/isimip3b.zip/content
RUN unzip isimip3b.zip && rm isimip3b.zip RUN unzip isimip3b.zip && rm isimip3b.zip
COPY . $HOME COPY ./exercises ./work
\ No newline at end of file \ No newline at end of file
# ML notebooks # ML notebooks
## Description [[_TOC_]]
## Installation ## Installation
**Requirements**
-docker
-git (optional)
Install the [Docker Engine](https://docs.docker.com/engine/install/).
## Usage Choose between:
- [Build Docker Image](#build-docker-image) (prefered)
- [Using the container registry](#using-the-container-registry)
### Build Docker Image
## Support Clone the repository.
```bash
git clone https://git.wur.nl/nauta008/ml-notebooks
```
## Roadmap Run `cd ml-notebooks` to navigate to the root of the project. Build the image and run the container.
```bash
docker compose up
```
## Contributing Open a browser and navigate to <localhost:8888>. Work on your exercises and when you are finished run:
```bash
docker compose down
```
## Authors and acknowledgment ### Using the container registry
Download the docker image for an amd64 architecture.
```bash
docker pull docker-registry.wur.nl/nauta008/ml-notebooks:latest
```
## License Run the following command to start Jupyter Lab. We mounted a volume into the `work` folder to store your progress. Keep in mind that your progress is only stored in this `work` folder.
```bash
docker run -p 8888:8888 --name ml-notebooks -v ml-notebooks:/home/jovyan/work docker-registry.wur.nl/nauta008/ml-notebooks start.sh jupyter lab --NotebookApp.token=''
```
Open a browser and navigate to <localhost:8888>
## Project status ## Data
<https://zenodo.org/records/10256871>
# volumes:
# content:
services:
server:
build: .
# user: root
ports:
- 8888:8888
environment:
CHOWN_HOME: 'yes'
CHOWN_HOME_OPTS: '-R'
entrypoint: sh -c "jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --NotebookApp.token=''"
volumes:
- ${PWD}/exercises:/home/jovyan/work
# volumes:
# - content:/home/jovyan/exercises
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment